pub struct GesturePinchEndEvent { /* private fields */ }
Expand description
Pinch gesture ended
Trait Implementations§
Source§impl AsRaw<libinput_event_gesture> for GesturePinchEndEvent
impl AsRaw<libinput_event_gesture> for GesturePinchEndEvent
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 GesturePinchEndEvent
impl Context for GesturePinchEndEvent
Source§impl Debug for GesturePinchEndEvent
impl Debug for GesturePinchEndEvent
Source§impl Drop for GesturePinchEndEvent
impl Drop for GesturePinchEndEvent
Source§impl EventTrait for GesturePinchEndEvent
impl EventTrait for GesturePinchEndEvent
Source§impl GesturePinchEventTrait for GesturePinchEndEvent
impl GesturePinchEventTrait for GesturePinchEndEvent
Source§fn scale(&self) -> f64
fn scale(&self) -> f64
Return the absolute scale of a pinch gesture, the scale is the division of
the current distance between the fingers and the distance at the start of
the gesture. Read more
Source§fn into_gesture_pinch_event(self) -> GesturePinchEventwhere
Self: Sized,
fn into_gesture_pinch_event(self) -> GesturePinchEventwhere
Self: Sized,
Convert into a general
GesturePinchEvent
Source§impl Hash for GesturePinchEndEvent
impl Hash for GesturePinchEndEvent
Source§impl PartialEq for GesturePinchEndEvent
impl PartialEq for GesturePinchEndEvent
impl Eq for GesturePinchEndEvent
Auto Trait Implementations§
impl Freeze for GesturePinchEndEvent
impl !RefUnwindSafe for GesturePinchEndEvent
impl !Send for GesturePinchEndEvent
impl !Sync for GesturePinchEndEvent
impl Unpin for GesturePinchEndEvent
impl !UnwindSafe for GesturePinchEndEvent
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