pub enum Category {
Editing,
Browser,
Media,
Mouse,
Dpi,
Scroll,
Navigation,
System,
}Expand description
Grouping for popover section headers.
Used by Action::category and rendered as a small muted label above
each group in the action picker.
Variants§
Editing
Cut, copy, paste, undo, redo, select-all, find, save.
Browser
Browser navigation: tabs, page reload, back/forward.
Media
Playback and volume controls.
Mouse
Physical mouse clicks.
Dpi
DPI cycle and SmartShift.
Scroll
Scroll direction shortcuts.
Window/app navigation: Mission Control, Launchpad, etc.
System
Lock screen, show desktop, system-level actions.
Implementations§
Trait Implementations§
impl Copy for Category
impl Eq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnsafeUnpin for Category
impl UnwindSafe for Category
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§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.