use crate::state::{bar::BarState, GlobalState}; use super::mode::Mode; BarState!( SheetViewBarState, Mode, GlobalState::get().view.bar );