pub enum ModifierKey {
Show 15 variants
Alt,
AltGr,
CapsLock,
Ctrl,
Function,
FunctionLock,
Hyper,
Meta,
NumLock,
OS,
ScrollLock,
Shift,
Super,
Symbol,
SymbolLock,
}Expand description
A modifier key on the keyboard.
Variants§
Alt
AltGr
CapsLock
Ctrl
Function
FunctionLock
Hyper
Meta
NumLock
OS
ScrollLock
Shift
Super
Symbol
SymbolLock
Trait Implementations§
Source§impl Clone for ModifierKey
impl Clone for ModifierKey
Source§fn clone(&self) -> ModifierKey
fn clone(&self) -> ModifierKey
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 ModifierKey
impl Debug for ModifierKey
Source§impl PartialEq for ModifierKey
impl PartialEq for ModifierKey
impl Copy for ModifierKey
impl Eq for ModifierKey
impl StructuralPartialEq for ModifierKey
Auto Trait Implementations§
impl Freeze for ModifierKey
impl RefUnwindSafe for ModifierKey
impl Send for ModifierKey
impl Sync for ModifierKey
impl Unpin for ModifierKey
impl UnwindSafe for ModifierKey
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