Enum input::event::Event [] [src]

pub enum Event {
    Device(DeviceEvent),
    Keyboard(KeyboardEvent),
    Pointer(PointerEvent),
    Touch(TouchEvent),
    Tablet(TabletToolEvent),
    TabletPad(TabletPadEvent),
    Gesture(GestureEvent),
    Switch(SwitchEvent),
}

A libinput Event

Variants

A device related Event

A keyboard related Event

A pointer related Event

A touch related Event

A tablet related Event

A tabled pad related Event

A gesture related Event

A switch related Event

Trait Implementations

impl Debug for Event
[src]

Formats the value using the given formatter.

impl PartialEq for Event
[src]

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

This method tests for !=.

impl Eq for Event
[src]

impl Hash for Event
[src]

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

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

impl EventTrait for Event
[src]

Convert into a general Event again

Get the libinput context from the event.

Return the device associated with this event. Read more

impl FromRaw<libinput_event> for Event
[src]

Create a new instance of this type from a raw pointer. Read more

impl AsRaw<libinput_event> for Event
[src]

Receive a raw pointer representing this type.