Struct wayland_protocols::unstable::pointer_gestures::v1::client::zwp_pointer_gestures_v1::ZwpPointerGesturesV1
source · pub struct ZwpPointerGesturesV1(/* private fields */);
Implementations§
source§impl ZwpPointerGesturesV1
impl ZwpPointerGesturesV1
sourcepub fn get_swipe_gesture(
&self,
pointer: &WlPointer
) -> Main<ZwpPointerGestureSwipeV1>
pub fn get_swipe_gesture( &self, pointer: &WlPointer ) -> Main<ZwpPointerGestureSwipeV1>
get swipe gesture
Create a swipe gesture object. See the wl_pointer_gesture_swipe interface for details.
sourcepub fn get_pinch_gesture(
&self,
pointer: &WlPointer
) -> Main<ZwpPointerGesturePinchV1>
pub fn get_pinch_gesture( &self, pointer: &WlPointer ) -> Main<ZwpPointerGesturePinchV1>
get pinch gesture
Create a pinch gesture object. See the wl_pointer_gesture_pinch interface for details.
sourcepub fn release(&self)
pub fn release(&self)
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§
source§impl Clone for ZwpPointerGesturesV1
impl Clone for ZwpPointerGesturesV1
source§fn clone(&self) -> ZwpPointerGesturesV1
fn clone(&self) -> ZwpPointerGesturesV1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ZwpPointerGesturesV1
impl Debug for ZwpPointerGesturesV1
source§impl From<Proxy<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1
impl From<Proxy<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1
source§impl From<ZwpPointerGesturesV1> for Proxy<ZwpPointerGesturesV1>
impl From<ZwpPointerGesturesV1> for Proxy<ZwpPointerGesturesV1>
source§fn from(value: ZwpPointerGesturesV1) -> Self
fn from(value: ZwpPointerGesturesV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZwpPointerGesturesV1
impl Interface for ZwpPointerGesturesV1
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
source§impl PartialEq for ZwpPointerGesturesV1
impl PartialEq for ZwpPointerGesturesV1
source§fn eq(&self, other: &ZwpPointerGesturesV1) -> bool
fn eq(&self, other: &ZwpPointerGesturesV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZwpPointerGesturesV1
impl StructuralEq for ZwpPointerGesturesV1
impl StructuralPartialEq for ZwpPointerGesturesV1
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§
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