pub struct Mods {
pub ctrl: bool,
pub alt: bool,
pub shift: bool,
}Fields§
§ctrl: bool§alt: bool§shift: boolImplementations§
Trait Implementations§
impl Copy for Mods
impl Eq for Mods
Source§impl Ord for Mods
impl Ord for Mods
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Mods
impl PartialOrd for Mods
impl StructuralPartialEq for Mods
Auto Trait Implementations§
impl Freeze for Mods
impl RefUnwindSafe for Mods
impl Send for Mods
impl Sync for Mods
impl Unpin for Mods
impl UnsafeUnpin for Mods
impl UnwindSafe for Mods
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