pub enum KeyState {
Pressed,
Released,
}
Expand description
State of any key, whether it is pressed or not
Variants
Pressed
Pressed key
Released
Released key
Trait Implementations
sourceimpl PartialEq<KeyState> for KeyState
impl PartialEq<KeyState> for KeyState
impl Copy for KeyState
impl Eq for KeyState
impl StructuralEq for KeyState
impl StructuralPartialEq for KeyState
Auto Trait Implementations
impl RefUnwindSafe for KeyState
impl Send for KeyState
impl Sync for KeyState
impl Unpin for KeyState
impl UnwindSafe for KeyState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more