pub struct Keymap {
pub id: &'static str,
pub name: &'static str,
pub tooltip: &'static str,
}Expand description
One selectable keyboard navigation style.
Fields§
§id: &'static strStable identifier persisted in settings (e.g. "apple").
name: &'static strTitle shown in the menu (a proper name; not translated).
tooltip: &'static strShort description of the style (e.g. "Apple controls").
Trait Implementations§
impl Copy for Keymap
impl Eq for Keymap
impl StructuralPartialEq for Keymap
Auto Trait Implementations§
impl Freeze for Keymap
impl RefUnwindSafe for Keymap
impl Send for Keymap
impl Sync for Keymap
impl Unpin for Keymap
impl UnsafeUnpin for Keymap
impl UnwindSafe for Keymap
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