1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#[derive(Copy, Clone, Debug, PartialEq, Eq)] pub enum MainFocus { History, Stats, } pub struct MainStatsSelection { pub row: usize, pub col: usize, } impl Default for MainStatsSelection { fn default() -> Self { Self { row: 1, col: 0 } } }