Enum input::event::gesture::GestureEvent
[−]
[src]
pub enum GestureEvent { Swipe(GestureSwipeEvent), Pinch(GesturePinchEvent), }
A gesture related Event
Variants
Swipe(GestureSwipeEvent)
A swipe gesture Event
Pinch(GesturePinchEvent)
A pinch gesture Event
Trait Implementations
impl Debug for GestureEvent
[src]
impl PartialEq for GestureEvent
[src]
fn eq(&self, __arg_0: &GestureEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GestureEvent) -> bool
This method tests for !=
.
impl Eq for GestureEvent
[src]
impl Hash for GestureEvent
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl EventTrait for GestureEvent
[src]
fn into_event(self) -> Event where
Self: Sized,
Self: Sized,
Convert into a general Event
again
fn context(&self) -> Libinput
Get the libinput context from the event.
fn device(&self) -> Device
Return the device associated with this event. Read more
impl FromRaw<libinput_event_gesture> for GestureEvent
[src]
unsafe fn from_raw(event: *mut libinput_event_gesture) -> Self
Create a new instance of this type from a raw pointer. Read more
impl AsRaw<libinput_event_gesture> for GestureEvent
[src]
fn as_raw(&self) -> *const libinput_event_gesture
Receive a raw pointer representing this type.