1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(PartialEq, Clone, Debug, Default)]
pub enum DirectionMode {
    #[default]
    Vertical,
    Horizontal,
}

impl DirectionMode {
    pub fn pretty(&self) -> String {
        match self {
            DirectionMode::Horizontal => "horizontal".to_string(),
            DirectionMode::Vertical => "vertical".to_string(),
        }
    }
}