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