1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/// The default style for tables
/// ```text
/// +-------+-------+
/// | Hello | there |
/// +===============+
/// | a | b |
/// +-------+-------+
/// | c | d |
/// +-------+-------+
/// ```
pub const ASCII_FULL: &str = "||--+==+|-+||++++++";
/// Default style without any borders
/// ```text
/// Hello | there
/// ===============
/// a | b
/// -------+-------
/// c | d
/// ```
pub const ASCII_NO_BORDERS: &str = " == |-+ ";
/// Just like ASCII_FULL, but without vertical/horizontal middle lines
/// ```text
/// +---------------+
/// | Hello there |
/// +===============+
/// | a b |
/// | c d |
/// +---------------+
/// ```
pub const ASCII_BORDERS_ONLY: &str = "||--+==+ ||--++++";
/// Just like ASCII_FULL, but without vertical/horizontal middle lines and no side borders
/// ```text
/// ---------------
/// Hello there
/// ===============
/// a b
/// c d
/// ---------------
/// ```
pub const ASCII_HORIZONTAL_BORDERS_ONLY: &str = " -- == -- -- ";
/// The UTF8 enabled version of the default style for tables.
/// Quite beautiful isn't it?
/// ```text
/// ┌───────┬───────┐
/// │ Hello │ there │
/// ╞═══════╪═══════╡
/// │ a ┆ b │
/// ├╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
/// │ c ┆ d │
/// └───────┴───────┘
/// ```
pub const UTF8_FULL: &str = "││──╞═╪╡┆╌┼├┤┬┴┌┐└┘";
/// Just like the UTF8 FULL version, but without vertical/horizontal middle lines.
/// ```text
/// ┌───────────────┐
/// │ Hello there │
/// ╞═══════════════╡
/// │ a b │
/// │ c d │
/// └───────────────┘
/// ```
pub const UTF8_BORDERS_ONLY: &str = "││──╞══╡ ──┌┐└┘";