/// Display mode of arranger pub enum ArrangerViewMode { Vertical, VerticalCompact, Horizontal, } impl ArrangerViewMode { pub fn to_next (&mut self) { *self = match self { Self::Vertical => Self::VerticalCompact, Self::VerticalCompact => Self::Horizontal, Self::Horizontal => Self::Vertical, } } }