Enum input_linux::Event [−][src]
pub enum Event {
Synchronize(SynchronizeEvent),
Key(KeyEvent),
Relative(RelativeEvent),
Absolute(AbsoluteEvent),
Switch(SwitchEvent),
Misc(MiscEvent),
Led(LedEvent),
Autorepeat(AutorepeatEvent),
Sound(SoundEvent),
UInput(UInputEvent),
Unknown(InputEvent),
}Expand description
An owned and typed input event.
Variants
Tuple Fields of Synchronize
Tuple Fields of Key
0: KeyEventTuple Fields of Relative
Tuple Fields of Absolute
Tuple Fields of Switch
0: SwitchEventTuple Fields of Misc
0: MiscEventTuple Fields of Led
0: LedEventTuple Fields of Autorepeat
Tuple Fields of Sound
0: SoundEventTuple Fields of UInput
0: UInputEventUnknown event type.
Tuple Fields of Unknown
0: InputEventImplementations
Converts a generic InputEvent to a typed 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 RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more