#[repr(C)]pub enum ModifierKeyCode {
Show 14 variants
LeftShift = 0,
LeftControl = 1,
LeftAlt = 2,
LeftSuper = 3,
LeftHyper = 4,
LeftMeta = 5,
RightShift = 6,
RightControl = 7,
RightAlt = 8,
RightSuper = 9,
RightHyper = 10,
RightMeta = 11,
IsoLevel3Shift = 12,
IsoLevel5Shift = 13,
}Expand description
Represents a modifier key (as part of KeyCode::Modifier).
Variants§
LeftShift = 0
Left Shift key.
LeftControl = 1
Left Control key.
LeftAlt = 2
Left Alt key.
LeftSuper = 3
Left Super key.
LeftHyper = 4
Left Hyper key.
LeftMeta = 5
Left Meta key.
RightShift = 6
Right Shift key.
RightControl = 7
Right Control key.
RightAlt = 8
Right Alt key.
RightSuper = 9
Right Super key.
RightHyper = 10
Right Hyper key.
RightMeta = 11
Right Meta key.
IsoLevel3Shift = 12
Iso Level3 Shift key.
IsoLevel5Shift = 13
Iso Level5 Shift key.
Auto Trait Implementations§
impl Freeze for ModifierKeyCode
impl RefUnwindSafe for ModifierKeyCode
impl Send for ModifierKeyCode
impl Sync for ModifierKeyCode
impl Unpin for ModifierKeyCode
impl UnwindSafe for ModifierKeyCode
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