1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/// 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.
///
/// ```text
/// +----------------------+
/// | Header1              |
/// +======================+
/// | Left                 |
/// |----------------------+
/// |        center        |
/// |----------------------+
/// |                right |
/// +----------------------+
/// ```
#[derive(Copy, Clone, Debug)]
pub enum CellAlignment {
    Left,
    Right,
    Center,
}