Struct keycodes_ascii::KeyEvent
source · pub struct KeyEvent {
pub keycode: Keycode,
pub action: KeyAction,
pub modifiers: KeyboardModifiers,
}
Expand description
The KeyEvent that should be delivered to applications upon a keyboard action.
Fields§
§keycode: Keycode
§action: KeyAction
§modifiers: KeyboardModifiers
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for KeyEvent
impl Send for KeyEvent
impl Sync for KeyEvent
impl Unpin for KeyEvent
impl UnwindSafe for KeyEvent
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