[][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<F>(
    &self,
    pointer: &WlPointer,
    implementor: F
) -> Result<ZwpPointerGestureSwipeV1, ()> where
    F: FnOnce(NewProxy<ZwpPointerGestureSwipeV1>) -> ZwpPointerGestureSwipeV1
[src]

get swipe gesture

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

pub fn get_pinch_gesture<F>(
    &self,
    pointer: &WlPointer,
    implementor: F
) -> Result<ZwpPointerGesturePinchV1, ()> where
    F: FnOnce(NewProxy<ZwpPointerGesturePinchV1>) -> ZwpPointerGesturePinchV1
[src]

get pinch gesture

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

Trait Implementations

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

impl Clone for ZwpPointerGesturesV1[src]

impl Eq for ZwpPointerGesturesV1[src]

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

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

impl<T: EventHandler> HandledBy<T> for 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

impl !RefUnwindSafe for ZwpPointerGesturesV1

impl Send for ZwpPointerGesturesV1

impl Sync for ZwpPointerGesturesV1

impl Unpin for ZwpPointerGesturesV1

impl !UnwindSafe for ZwpPointerGesturesV1

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> From<T> for T[src]

impl<M, I> HandledBy<Sink<M>> for I where
    I: Interface,
    M: From<(<I as Interface>::Event, I)>, 
[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.