pub struct SpaceMenu {
pub open: bool,
pub cursor: usize,
pub section: SpaceMenuSection,
}Expand description
The space menu: press Space to open, Space again to close. Shows all Space+key shortcuts, actions, and help topics.
Fields§
§open: bool§cursor: usize§section: SpaceMenuSectionWhich section is active.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpaceMenu
impl RefUnwindSafe for SpaceMenu
impl Send for SpaceMenu
impl Sync for SpaceMenu
impl Unpin for SpaceMenu
impl UnsafeUnpin for SpaceMenu
impl UnwindSafe for SpaceMenu
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more