pub enum KeyModifier {
CtrlCmd = 1,
AltOpt = 2,
Shift = 3,
Function = 4,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for KeyModifier
impl Clone for KeyModifier
Source§fn clone(&self) -> KeyModifier
fn clone(&self) -> KeyModifier
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 Hash for KeyModifier
impl Hash for KeyModifier
Source§impl Ord for KeyModifier
impl Ord for KeyModifier
Source§fn cmp(&self, other: &KeyModifier) -> Ordering
fn cmp(&self, other: &KeyModifier) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KeyModifier
impl PartialEq for KeyModifier
Source§impl PartialOrd for KeyModifier
impl PartialOrd for KeyModifier
impl Eq for KeyModifier
impl StructuralPartialEq for KeyModifier
Auto Trait Implementations§
impl Freeze for KeyModifier
impl RefUnwindSafe for KeyModifier
impl Send for KeyModifier
impl Sync for KeyModifier
impl Unpin for KeyModifier
impl UnwindSafe for KeyModifier
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