pub struct ShortcutEntry {
pub key: &'static str,
pub description: &'static str,
}Expand description
A single keyboard shortcut entry displayed in the help popup.
Fields§
§key: &'static strThe key combination as shown to the user (e.g. "?", "j / k", "Tab").
description: &'static strShort description of what the shortcut does.
Auto Trait Implementations§
impl Freeze for ShortcutEntry
impl RefUnwindSafe for ShortcutEntry
impl Send for ShortcutEntry
impl Sync for ShortcutEntry
impl Unpin for ShortcutEntry
impl UnsafeUnpin for ShortcutEntry
impl UnwindSafe for ShortcutEntry
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