pub struct ZwpPointerGesturePinchV1 { /* private fields */ }Expand description
a pinch gesture object
A pinch gesture object notifies a client about a multi-finger pinch gesture detected on an indirect input device such as a touchpad. The gesture is usually initiated by multiple fingers moving towards each other or away from each other, or by two or more fingers rotating around a logical center of gravity. 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 ZwpPointerGesturePinchV1
impl Borrow<ObjectId> for ZwpPointerGesturePinchV1
Source§impl Clone for ZwpPointerGesturePinchV1
impl Clone for ZwpPointerGesturePinchV1
Source§fn clone(&self) -> ZwpPointerGesturePinchV1
fn clone(&self) -> ZwpPointerGesturePinchV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more