Struct wayland_protocols::unstable::pointer_gestures::v1::client::zwp_pointer_gestures_v1::ZwpPointerGesturesV1
source · [−]pub struct ZwpPointerGesturesV1(_);
Implementations
sourceimpl 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
sourceimpl AsRef<Proxy<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1
impl AsRef<Proxy<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1
sourceimpl Clone for ZwpPointerGesturesV1
impl Clone for ZwpPointerGesturesV1
sourcefn clone(&self) -> ZwpPointerGesturesV1
fn clone(&self) -> ZwpPointerGesturesV1
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ZwpPointerGesturesV1
impl Debug for ZwpPointerGesturesV1
sourceimpl From<Proxy<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1
impl From<Proxy<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1
sourceimpl From<ZwpPointerGesturesV1> for Proxy<ZwpPointerGesturesV1>
impl From<ZwpPointerGesturesV1> for Proxy<ZwpPointerGesturesV1>
sourcefn from(value: ZwpPointerGesturesV1) -> Self
fn from(value: ZwpPointerGesturesV1) -> Self
Converts to this type from the input type.
sourceimpl Interface for ZwpPointerGesturesV1
impl Interface for ZwpPointerGesturesV1
sourcefn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
sourceimpl PartialEq<ZwpPointerGesturesV1> for ZwpPointerGesturesV1
impl PartialEq<ZwpPointerGesturesV1> for ZwpPointerGesturesV1
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more