#[repr(C)]pub enum Mod {
None = 0,
Shift = 1,
Ctrl = 2,
Alt = 4,
Meta = 8,
Numlock = 16,
Capslock = 32,
Scrollock = 64,
}Variants§
Implementations§
Trait Implementations§
impl Copy for Mod
impl Eq for Mod
Source§impl Ord for Mod
impl Ord for Mod
1.21.0 (const: unstable) · 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 PartialOrd for Mod
impl PartialOrd for Mod
impl StructuralPartialEq for Mod
Auto Trait Implementations§
impl Freeze for Mod
impl RefUnwindSafe for Mod
impl Send for Mod
impl Sync for Mod
impl Unpin for Mod
impl UnsafeUnpin for Mod
impl UnwindSafe for Mod
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