pub enum ModState {
Off,
Once,
Hold,
}Expand description
Modificator key state
Variants§
Off
Is not pressed
Once
Will turn off after any other key is pressed
Hold
Wil be pressed until clicked again
Trait Implementations§
impl Copy for ModState
impl Eq for ModState
impl StructuralPartialEq for ModState
Auto Trait Implementations§
impl Freeze for ModState
impl RefUnwindSafe for ModState
impl Send for ModState
impl Sync for ModState
impl Unpin for ModState
impl UnwindSafe for ModState
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