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

impl DisplayMode {
    pub fn pretty(&self) -> String {
        match self {
            DisplayMode::Normal => "Normal".to_string(),
            DisplayMode::Center => "Center".to_string(),
        }
    }
}