pub enum KeyMods {
ModLeftCtrl = 1,
ModLeftShift = 2,
ModLeftAlt = 4,
ModLeftGui = 8,
ModRightCtrl = 16,
ModRightShift = 32,
ModRightAlt = 64,
ModRightGui = 128,
}Variants§
ModLeftCtrl = 1
ModLeftShift = 2
ModLeftAlt = 4
ModLeftGui = 8
ModRightCtrl = 16
ModRightShift = 32
ModRightAlt = 64
ModRightGui = 128
Trait Implementations§
impl Copy for KeyMods
impl StructuralPartialEq for KeyMods
Auto Trait Implementations§
impl Freeze for KeyMods
impl RefUnwindSafe for KeyMods
impl Send for KeyMods
impl Sync for KeyMods
impl Unpin for KeyMods
impl UnwindSafe for KeyMods
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