euv_ui/component/table/view/enum.rs
1use super::*;
2
3/// The horizontal alignment of a table column and of every cell in it.
4///
5/// Drives the `c_euv_table_cell_center` / `c_euv_table_cell_right`
6/// modifier stacked on top of the shared `c_euv_table_cell` base, so a
7/// column's alignment is expressed in one place instead of being repeated
8/// per cell.
9#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
10pub enum EuvTableAlign {
11 /// Flush-left content; renders the base `c_euv_table_cell` alone.
12 #[default]
13 Left,
14 /// Horizontally centred content.
15 Center,
16 /// Flush-right content, the usual home for numeric columns.
17 Right,
18}