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

pub enum GesturePinchEvent {
    Begin(GesturePinchBeginEvent),
    Update(GesturePinchUpdateEvent),
    End(GesturePinchEndEvent),
}

Events for pinch gestures

Variants

Pinch gesture began

In-progress pinch gesture updated

Pinch gesture ended

Trait Implementations

impl Debug for GesturePinchEvent
[src]

Formats the value using the given formatter.

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

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

Convert into a general Event again

Get the libinput context from the event.

Return the device associated with this event. Read more

impl GesturePinchEventTrait for GesturePinchEvent
[src]

Return the absolute scale of a pinch gesture, the scale is the division of the current distance between the fingers and the distance at the start of the gesture. Read more

Convert into a general GesturePinchEvent

impl FromRaw<libinput_event_gesture> for GesturePinchEvent
[src]

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

impl AsRaw<libinput_event_gesture> for GesturePinchEvent
[src]

Receive a raw pointer representing this type.