Enum input_linux::EventRef [−][src]
pub enum EventRef<'a> {
Synchronize(&'a SynchronizeEvent),
Key(&'a KeyEvent),
Relative(&'a RelativeEvent),
Absolute(&'a AbsoluteEvent),
Switch(&'a SwitchEvent),
Misc(&'a MiscEvent),
Led(&'a LedEvent),
Autorepeat(&'a AutorepeatEvent),
Sound(&'a SoundEvent),
UInput(&'a UInputEvent),
Unknown(&'a InputEvent),
}Expand description
A reference to an input event.
Variants
Tuple Fields of Synchronize
0: &'a SynchronizeEventTuple Fields of Key
0: &'a KeyEventTuple Fields of Relative
0: &'a RelativeEventTuple Fields of Absolute
0: &'a AbsoluteEventTuple Fields of Switch
0: &'a SwitchEventTuple Fields of Misc
0: &'a MiscEventTuple Fields of Led
0: &'a LedEventTuple Fields of Autorepeat
0: &'a AutorepeatEventTuple Fields of Sound
0: &'a SoundEventTuple Fields of UInput
0: &'a UInputEventUnknown event type.
Tuple Fields of Unknown
0: &'a InputEventImplementations
Wraps the generic InputEvent into an event.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for EventRef<'a>
impl<'a> UnwindSafe for EventRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more