Enum uinput::event::Event [] [src]

pub enum Event {
    All,
    Keyboard(Keyboard),
    Controller(Controller),
    Relative(Relative),
    Absolute(Absolute),
}

All supported events.

Variants

Keyboard event.

Controller event.

Relative movement event.

Absolute movement event.

Trait Implementations

impl Clone for Event
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Event
[src]

impl PartialEq for Event
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Event
[src]

impl Hash for Event
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

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

impl Debug for Event
[src]

[src]

Formats the value using the given formatter.

impl Kind for Event
[src]

[src]

Get the event type.

impl Code for Event
[src]

[src]

Get the event code.