1/// [`AlignmentHorizontal`] represents an horizontal alignment of a cell content.
2#[derive(Debug, Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)]
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, Hash, PartialEq, Eq, PartialOrd, Ord)]
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}
22