Struct gdk::EventTouch [−][src]
pub struct EventTouch(_);
Expand description
Used for touch events.
type field will be one of EventType::TouchBegin, EventType::TouchUpdate,
EventType::TouchEnd or EventType::TouchCancel.
Touch events are grouped into sequences by means of the sequence
field, which can also be obtained with gdk_event_get_event_sequence().
Each sequence begins with a EventType::TouchBegin event, followed by
any number of EventType::TouchUpdate events, and ends with a EventType::TouchEnd
(or EventType::TouchCancel) event. With multitouch devices, there may be
several active sequences at the same time.
Implementations
Methods from Deref<Target = Event>
v3_20 only.v3_20 only.v3_22 only.v3_22 only.v3_22 only.v3_22 only.Returns the event type.
Returns whether the event was sent explicitly.
Tries to downcast to a specific event type.
Tries to downcast to a specific event type.
Trait Implementations
Performs the conversion.
Performs the conversion.
Safety Read more
Safety Read more
Safety Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Transfer: none. Read more
Auto Trait Implementations
impl RefUnwindSafe for EventTouchimpl !Send for EventTouchimpl !Sync for EventTouchimpl Unpin for EventTouchimpl UnwindSafe for EventTouchBlanket Implementations
Mutably borrows from an owned value. Read more