#[non_exhaustive]pub enum GestureHoldEvent {
Begin(GestureHoldBeginEvent),
End(GestureHoldEndEvent),
}
Expand description
Events for hold gestures
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl AsRaw<libinput_event_gesture> for GestureHoldEvent
impl AsRaw<libinput_event_gesture> for GestureHoldEvent
Source§fn as_raw(&self) -> *const libinput_event_gesture
fn as_raw(&self) -> *const libinput_event_gesture
Receive a raw pointer representing this type.
Source§impl Context for GestureHoldEvent
impl Context for GestureHoldEvent
Source§impl Debug for GestureHoldEvent
impl Debug for GestureHoldEvent
Source§impl EventTrait for GestureHoldEvent
impl EventTrait for GestureHoldEvent
Source§impl GestureHoldEventTrait for GestureHoldEvent
impl GestureHoldEventTrait for GestureHoldEvent
Source§fn into_gesture_hold_event(self) -> GestureHoldEventwhere
Self: Sized,
fn into_gesture_hold_event(self) -> GestureHoldEventwhere
Self: Sized,
Convert into a general
GesturePinchEvent
Source§impl Hash for GestureHoldEvent
impl Hash for GestureHoldEvent
Source§impl PartialEq for GestureHoldEvent
impl PartialEq for GestureHoldEvent
impl Eq for GestureHoldEvent
impl StructuralPartialEq for GestureHoldEvent
Auto Trait Implementations§
impl Freeze for GestureHoldEvent
impl !RefUnwindSafe for GestureHoldEvent
impl !Send for GestureHoldEvent
impl !Sync for GestureHoldEvent
impl Unpin for GestureHoldEvent
impl !UnwindSafe for GestureHoldEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> GestureEventTrait for T
impl<T> GestureEventTrait for T
Source§fn finger_count(&self) -> i32
fn finger_count(&self) -> i32
Return the number of fingers used for a gesture. Read more
Source§fn into_gesture_event(self) -> GestureEventwhere
Self: Sized,
fn into_gesture_event(self) -> GestureEventwhere
Self: Sized,
Convert into a general
GestureEvent
again