Enum input::event::touch::TouchEvent [] [src]

pub enum TouchEvent {
    Down(TouchDownEvent),
    Up(TouchUpEvent),
    Motion(TouchMotionEvent),
    Cancel(TouchCancelEvent),
    Frame(TouchFrameEvent),
}

A touch related Event

Variants

An event related to resting the finger on the screen

An event related to lifting the finger on the screen

An event related to moving a finger on the screen

An event cancelling previous events on this slot

Signals the end of a set of touchpoints at one device sample time.

Trait Implementations

impl Debug for TouchEvent
[src]

Formats the value using the given formatter.

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

impl Hash for TouchEvent
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl EventTrait for TouchEvent
[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_touch> for TouchEvent
[src]

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

impl AsRaw<libinput_event_touch> for TouchEvent
[src]

Receive a raw pointer representing this type.