[][src]Struct wayland_protocols::unstable::pointer_gestures::v1::client::zwp_pointer_gestures_v1::ZwpPointerGesturesV1

pub struct ZwpPointerGesturesV1(_);

Implementations

impl ZwpPointerGesturesV1[src]

pub fn get_swipe_gesture(
    &self,
    pointer: &WlPointer
) -> Main<ZwpPointerGestureSwipeV1>
[src]

get swipe gesture

Create a swipe gesture object. See the wl_pointer_gesture_swipe interface for details.

pub fn get_pinch_gesture(
    &self,
    pointer: &WlPointer
) -> Main<ZwpPointerGesturePinchV1>
[src]

get pinch gesture

Create a pinch gesture object. See the wl_pointer_gesture_pinch interface for details.

pub fn release(&self)[src]

destroy the pointer gesture object

Destroy the pointer gesture object. Swipe and pinch objects created via this gesture object remain valid.

This is a destructor, you cannot send requests to this object any longer once this method is called. Only available since version 2 of the interface.

Trait Implementations

impl AsRef<Proxy<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1[src]

impl Clone for ZwpPointerGesturesV1[src]

impl Debug for ZwpPointerGesturesV1[src]

impl Eq for ZwpPointerGesturesV1[src]

impl From<Proxy<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1[src]

impl From<ZwpPointerGesturesV1> for Proxy<ZwpPointerGesturesV1>[src]

impl Interface for ZwpPointerGesturesV1[src]

type Request = Request

Set of requests associated to this interface Read more

type Event = Event

Set of events associated to this interface Read more

impl PartialEq<ZwpPointerGesturesV1> for ZwpPointerGesturesV1[src]

impl StructuralEq for ZwpPointerGesturesV1[src]

impl StructuralPartialEq for ZwpPointerGesturesV1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.