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