Enum input_linux::EventMut[][src]

pub enum EventMut<'a> {
    Synchronize(&'a mut SynchronizeEvent),
    Key(&'a mut KeyEvent),
    Relative(&'a mut RelativeEvent),
    Absolute(&'a mut AbsoluteEvent),
    Switch(&'a mut SwitchEvent),
    Misc(&'a mut MiscEvent),
    Led(&'a mut LedEvent),
    Autorepeat(&'a mut AutorepeatEvent),
    Sound(&'a mut SoundEvent),
    UInput(&'a mut UInputEvent),
    Unknown(&'a mut InputEvent),
}
Expand description

A mutable reference to an input event.

Variants

Synchronize

Tuple Fields of Synchronize

0: &'a mut SynchronizeEvent
Key

Tuple Fields of Key

0: &'a mut KeyEvent
Relative

Tuple Fields of Relative

0: &'a mut RelativeEvent
Absolute

Tuple Fields of Absolute

0: &'a mut AbsoluteEvent
Switch

Tuple Fields of Switch

0: &'a mut SwitchEvent
Misc

Tuple Fields of Misc

0: &'a mut MiscEvent
Led

Tuple Fields of Led

0: &'a mut LedEvent
Autorepeat

Tuple Fields of Autorepeat

0: &'a mut AutorepeatEvent
Sound

Tuple Fields of Sound

0: &'a mut SoundEvent
UInput

Tuple Fields of UInput

0: &'a mut UInputEvent
Unknown

Unknown event type.

Tuple Fields of Unknown

0: &'a mut InputEvent

Implementations

Wraps the generic InputEvent into a mutable event.

Trait Implementations

Performs the conversion.

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.