pub enum ShortcutPriority {
System = 3,
Desktop = 2,
Application = 1,
User = 0,
}Expand description
Priority for shortcut matching (higher wins).
Variants§
System = 3
System-level shortcuts (cannot be overridden).
Desktop = 2
Desktop environment shortcuts.
Application = 1
Application shortcuts.
User = 0
User-defined shortcuts.
Trait Implementations§
Source§impl Clone for ShortcutPriority
impl Clone for ShortcutPriority
Source§fn clone(&self) -> ShortcutPriority
fn clone(&self) -> ShortcutPriority
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShortcutPriority
impl Debug for ShortcutPriority
Source§impl Default for ShortcutPriority
impl Default for ShortcutPriority
Source§fn default() -> ShortcutPriority
fn default() -> ShortcutPriority
Returns the “default value” for a type. Read more
Source§impl Ord for ShortcutPriority
impl Ord for ShortcutPriority
Source§impl PartialEq for ShortcutPriority
impl PartialEq for ShortcutPriority
Source§impl PartialOrd for ShortcutPriority
impl PartialOrd for ShortcutPriority
Source§fn partial_cmp(&self, other: &ShortcutPriority) -> Option<Ordering>
fn partial_cmp(&self, other: &ShortcutPriority) -> Option<Ordering>
impl Copy for ShortcutPriority
impl Eq for ShortcutPriority
impl StructuralPartialEq for ShortcutPriority
Auto Trait Implementations§
impl Freeze for ShortcutPriority
impl RefUnwindSafe for ShortcutPriority
impl Send for ShortcutPriority
impl Sync for ShortcutPriority
impl Unpin for ShortcutPriority
impl UnwindSafe for ShortcutPriority
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)