pub struct Mods {
pub ctrl: bool,
pub alt: bool,
pub shift: bool,
}Expand description
Modifier state for a chord.
Fields§
§ctrl: bool§alt: bool§shift: boolImplementations§
Trait Implementations§
impl Copy for Mods
impl Eq 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