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
/// This can be set on [columns](crate::Column::set_cell_alignment) and [cells](crate::Cell::set_alignment).
///
/// Determines how content of cells should be aligned horizontally.
///
/// ```text
/// +----------------------+
/// | Header1 |
/// +======================+
/// | Left |
/// |----------------------+
/// | center |
/// |----------------------+
/// | right |
/// +----------------------+
/// ```
/// Determines how content of cells should be aligned vertically.
///
/// This is useful when cells in the same row have different heights
/// (e.g., one cell has multi-line content while another has single-line content).
///
/// ```text
/// +--------+-----+ +--------+-----+ +--------+-----+
/// | Line 1 | Top | | Line 1 | | | Line 1 | |
/// | Line 2 | | | Line 2 | Mid | | Line 2 | |
/// | Line 3 | | | Line 3 | | | Line 3 | Bot |
/// +--------+-----+ +--------+-----+ +--------+-----+
/// ```