Enum input::event::gesture::GestureEvent [] [src]

pub enum GestureEvent {
    Swipe(GestureSwipeEvent),
    Pinch(GesturePinchEvent),
}

A gesture related Event

Variants

A swipe gesture Event

A pinch gesture Event

Trait Implementations

impl Debug for GestureEvent
[src]

Formats the value using the given formatter.

impl PartialEq for GestureEvent
[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 GestureEvent
[src]

impl Hash for GestureEvent
[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 GestureEvent
[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_gesture> for GestureEvent
[src]

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

impl AsRaw<libinput_event_gesture> for GestureEvent
[src]

Receive a raw pointer representing this type.