1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(PartialEq, Clone, Debug, Default)]
pub enum Alignment {
    #[default]
    Start,
    Center,
    End,
}

impl Alignment {
    pub fn is_not_start(&self) -> bool {
        *self != Self::Start
    }

    pub fn pretty(&self) -> String {
        format!("{self:?}")
    }
}