[−][src]Struct wayland_protocols::unstable::pointer_gestures::v1::client::zwp_pointer_gestures_v1::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]
&self,
pointer: &WlPointer,
implementor: F
) -> Result<ZwpPointerGestureSwipeV1, ()> where
F: FnOnce(NewProxy<ZwpPointerGestureSwipeV1>) -> ZwpPointerGestureSwipeV1,
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]
&self,
pointer: &WlPointer,
implementor: F
) -> Result<ZwpPointerGesturePinchV1, ()> where
F: FnOnce(NewProxy<ZwpPointerGesturePinchV1>) -> ZwpPointerGesturePinchV1,
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]
fn clone(&self) -> ZwpPointerGesturesV1[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Eq for ZwpPointerGesturesV1[src]
impl From<Proxy<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1[src]
impl From<ZwpPointerGesturesV1> for Proxy<ZwpPointerGesturesV1>[src]
fn from(value: ZwpPointerGesturesV1) -> Self[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
const NAME: &'static str[src]
const VERSION: u32[src]
fn c_interface() -> *const wl_interface[src]
impl PartialEq<ZwpPointerGesturesV1> for ZwpPointerGesturesV1[src]
fn eq(&self, other: &ZwpPointerGesturesV1) -> bool[src]
fn ne(&self, other: &ZwpPointerGesturesV1) -> bool[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[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]
I: Interface,
M: From<(<I as Interface>::Event, I)>,
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,