pub struct ZwpPointerGestureSwipeV1 { /* private fields */ }Expand description
a swipe gesture object
A swipe gesture object notifies a client about a multi-finger swipe gesture detected on an indirect input device such as a touchpad. The gesture is usually initiated by multiple fingers moving in the same direction but once initiated the direction may change. The precise conditions of when such a gesture is detected are implementation-dependent.
A gesture consists of three stages: begin, update (optional) and end. There cannot be multiple simultaneous hold, pinch or swipe gestures on a same pointer/seat, how compositors prevent these situations is implementation-dependent.
A gesture may be cancelled by the compositor or the hardware. Clients should not consider performing permanent or irreversible actions until the end of a gesture has been received.
See also the Event enum for this interface.
Implementations§
Trait Implementations§
Source§impl Borrow<ObjectId> for ZwpPointerGestureSwipeV1
impl Borrow<ObjectId> for ZwpPointerGestureSwipeV1
Source§impl Clone for ZwpPointerGestureSwipeV1
impl Clone for ZwpPointerGestureSwipeV1
Source§fn clone(&self) -> ZwpPointerGestureSwipeV1
fn clone(&self) -> ZwpPointerGestureSwipeV1
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ZwpPointerGestureSwipeV1
impl Debug for ZwpPointerGestureSwipeV1
impl Eq for ZwpPointerGestureSwipeV1
Source§impl Hash for ZwpPointerGestureSwipeV1
impl Hash for ZwpPointerGestureSwipeV1
Source§impl PartialEq for ZwpPointerGestureSwipeV1
impl PartialEq for ZwpPointerGestureSwipeV1
Source§fn eq(&self, other: &ZwpPointerGestureSwipeV1) -> bool
fn eq(&self, other: &ZwpPointerGestureSwipeV1) -> bool
self and other values to be equal, and is used by ==.