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 SynchronizeEvent
Tuple Fields of Key
0: &'a KeyEvent
Tuple Fields of Relative
0: &'a RelativeEvent
Tuple Fields of Absolute
0: &'a AbsoluteEvent
Tuple Fields of Switch
0: &'a SwitchEvent
Tuple Fields of Misc
0: &'a MiscEvent
Tuple Fields of Led
0: &'a LedEvent
Tuple Fields of Autorepeat
0: &'a AutorepeatEvent
Tuple Fields of Sound
0: &'a SoundEvent
Tuple Fields of UInput
0: &'a UInputEvent
Unknown event type.
Tuple Fields of Unknown
0: &'a InputEvent
Implementations
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