pub trait KeyboardEventTrait: AsRaw<libinput_event_keyboard> + Context {
// Provided methods
fn time(&self) -> u32 { ... }
fn time_usec(&self) -> u64 { ... }
fn key(&self) -> u32 { ... }
fn key_state(&self) -> KeyState { ... }
fn into_keyboard_event(self) -> KeyboardEvent
where Self: Sized { ... }
}
Expand description
Common functions for all Keyboard-Events implement.
Provided Methods§
Sourcefn into_keyboard_event(self) -> KeyboardEventwhere
Self: Sized,
fn into_keyboard_event(self) -> KeyboardEventwhere
Self: Sized,
Convert into a general KeyboardEvent
again