Enum input::event::gesture::GestureSwipeEvent
[−]
[src]
pub enum GestureSwipeEvent { Begin(GestureSwipeBeginEvent), Update(GestureSwipeUpdateEvent), End(GestureSwipeEndEvent), }
Events for swipe gestures
Variants
Begin(GestureSwipeBeginEvent)
Swipe gesture began
Update(GestureSwipeUpdateEvent)
In-progress swipe gesture updated
End(GestureSwipeEndEvent)
Swipe gesture ended
Trait Implementations
impl Debug for GestureSwipeEvent
[src]
impl PartialEq for GestureSwipeEvent
[src]
fn eq(&self, __arg_0: &GestureSwipeEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GestureSwipeEvent) -> bool
This method tests for !=
.
impl Eq for GestureSwipeEvent
[src]
impl Hash for GestureSwipeEvent
[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 GestureSwipeEventTrait for GestureSwipeEvent
[src]
fn into_gesture_swipe_event(self) -> GestureSwipeEvent where
Self: Sized,
Self: Sized,
Convert into a general GestureSwipeEvent
impl EventTrait for GestureSwipeEvent
[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 GestureSwipeEvent
[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 GestureSwipeEvent
[src]
fn as_raw(&self) -> *const libinput_event_gesture
Receive a raw pointer representing this type.