pub struct KeyState {
pub pressed: PressType,
}
Fields
pressed: PressType
Implementations
sourceimpl KeyState
impl KeyState
pub fn into_released(self) -> KeyState
pub fn into_pressed(self) -> KeyState
Trait Implementations
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