[−][src]Trait input_linux::GenericEvent
A generic linux input event.
Required methods
fn event_kind(&self) -> EventKind
The event kind.
fn time(&self) -> &EventTime
The timestamp associated with the event.
fn code(&self) -> u16
The type code value of the event.
fn value(&self) -> i32
The value associated with the event.
fn from_ref(event: &InputEvent) -> Result<&Self, RangeError>
Interprets a generic event reference into a concrete event type.
fn from_mut(event: &mut InputEvent) -> Result<&mut Self, RangeError>
Interprets a mutable generic event reference into a concrete event type.