pub enum HelpCategory {
General,
Navigation,
Editing,
File,
View,
Global,
Custom(String),
}Expand description
Category for organizing help entries into logical groups.
Variants§
General
General/uncategorized keybinding.
Navigation keys (arrows, page up/down, home/end, etc.).
Editing
Editing actions (cut, copy, paste, undo, redo, etc.).
File
File operations (save, open, close, new, etc.).
View
View/display controls (zoom, scroll, toggle panels, etc.).
Global
Application-level shortcuts (quit, settings, help, etc.).
Custom(String)
Custom category with a user-defined label.
Implementations§
Trait Implementations§
Source§impl Clone for HelpCategory
impl Clone for HelpCategory
Source§fn clone(&self) -> HelpCategory
fn clone(&self) -> HelpCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HelpCategory
impl Debug for HelpCategory
Source§impl Default for HelpCategory
impl Default for HelpCategory
Source§fn default() -> HelpCategory
fn default() -> HelpCategory
Returns the “default value” for a type. Read more
Source§impl Hash for HelpCategory
impl Hash for HelpCategory
Source§impl PartialEq for HelpCategory
impl PartialEq for HelpCategory
impl Eq for HelpCategory
impl StructuralPartialEq for HelpCategory
Auto Trait Implementations§
impl Freeze for HelpCategory
impl RefUnwindSafe for HelpCategory
impl Send for HelpCategory
impl Sync for HelpCategory
impl Unpin for HelpCategory
impl UnsafeUnpin for HelpCategory
impl UnwindSafe for HelpCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.