pub struct KeyInput {
pub key_code: KeyCode,
pub key_state: KeyState,
pub prev_pressed: bool,
}Fields§
§key_code: KeyCode§key_state: KeyState§prev_pressed: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for KeyInput
impl Send for KeyInput
impl Sync for KeyInput
impl Unpin for KeyInput
impl UnwindSafe for KeyInput
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