papergrid/config/alignment.rs
1/// [`AlignmentHorizontal`] represents an horizontal alignment of a cell content.
2#[derive(Debug, Clone, Copy, PartialEq, Eq)]
3pub enum AlignmentHorizontal {
4 /// Align to the center.
5 Center,
6 /// Align on the left.
7 Left,
8 /// Align on the right.
9 Right,
10}
11
12/// [`AlignmentVertical`] represents an vertical alignment of a cell content.
13#[derive(Debug, Clone, Copy, PartialEq, Eq)]
14pub enum AlignmentVertical {
15 /// Align to the center.
16 Center,
17 /// Align to the top.
18 Top,
19 /// Align to the bottom.
20 Bottom,
21}