Struct rs::layout::LayoutState
source · [−]pub struct LayoutState {
pub current_view: String,
view_latched: LatchedState,
pub active_buttons: ActiveButtons,
}
Expand description
Changeable state that can’t be derived from the definition of the layout.
Fields
current_view: String
view_latched: LatchedState
Buttons not in this list are in their base state: not pressed. Latched/locked appearance is derived from current view and button metadata.
Auto Trait Implementations
impl RefUnwindSafe for LayoutState
impl Send for LayoutState
impl Sync for LayoutState
impl Unpin for LayoutState
impl UnwindSafe for LayoutState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more