Struct input::event::gesture::GesturePinchBeginEvent
[−]
[src]
pub struct GesturePinchBeginEvent { /* fields omitted */ }Pinch gesture began
Trait Implementations
impl Eq for GesturePinchBeginEvent[src]
impl Debug for GesturePinchBeginEvent[src]
impl FromRaw<libinput_event_gesture> for GesturePinchBeginEvent[src]
unsafe fn from_raw(ffi: *mut libinput_event_gesture) -> Self
Create a new instance of this type from a raw pointer. Read more
impl AsRaw<libinput_event_gesture> for GesturePinchBeginEvent[src]
fn as_raw(&self) -> *const libinput_event_gesture
Receive a raw pointer representing this type.
impl PartialEq for GesturePinchBeginEvent[src]
fn eq(&self, other: &Self) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Hash for GesturePinchBeginEvent[src]
fn hash<H: Hasher>(&self, state: &mut H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl EventTrait for GesturePinchBeginEvent[src]
fn into_event(self) -> Event where 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 Drop for GesturePinchBeginEvent[src]
impl GesturePinchEventTrait for GesturePinchBeginEvent[src]
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
fn into_gesture_pinch_event(self) -> GesturePinchEvent where Self: Sized
Convert into a general GesturePinchEvent