Struct wayland_protocols::unstable::relative_pointer::v1::client::zwp_relative_pointer_manager_v1::ZwpRelativePointerManagerV1
source · pub struct ZwpRelativePointerManagerV1(/* private fields */);
Implementations§
source§impl ZwpRelativePointerManagerV1
impl ZwpRelativePointerManagerV1
sourcepub fn destroy(&self)
pub fn destroy(&self)
destroy the relative pointer manager object
Used by the client to notify the server that it will no longer use this relative pointer manager object.
This is a destructor, you cannot send requests to this object any longer once this method is called.
sourcepub fn get_relative_pointer(
&self,
pointer: &WlPointer
) -> Main<ZwpRelativePointerV1>
pub fn get_relative_pointer( &self, pointer: &WlPointer ) -> Main<ZwpRelativePointerV1>
get a relative pointer object
Create a relative pointer interface given a wl_pointer object. See the wp_relative_pointer interface for more details.
Trait Implementations§
source§impl Clone for ZwpRelativePointerManagerV1
impl Clone for ZwpRelativePointerManagerV1
source§fn clone(&self) -> ZwpRelativePointerManagerV1
fn clone(&self) -> ZwpRelativePointerManagerV1
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 ZwpRelativePointerManagerV1
impl Debug for ZwpRelativePointerManagerV1
source§impl From<ZwpRelativePointerManagerV1> for Proxy<ZwpRelativePointerManagerV1>
impl From<ZwpRelativePointerManagerV1> for Proxy<ZwpRelativePointerManagerV1>
source§fn from(value: ZwpRelativePointerManagerV1) -> Self
fn from(value: ZwpRelativePointerManagerV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZwpRelativePointerManagerV1
impl Interface for ZwpRelativePointerManagerV1
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 ZwpRelativePointerManagerV1
impl PartialEq for ZwpRelativePointerManagerV1
source§fn eq(&self, other: &ZwpRelativePointerManagerV1) -> bool
fn eq(&self, other: &ZwpRelativePointerManagerV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZwpRelativePointerManagerV1
impl StructuralEq for ZwpRelativePointerManagerV1
impl StructuralPartialEq for ZwpRelativePointerManagerV1
Auto Trait Implementations§
impl !RefUnwindSafe for ZwpRelativePointerManagerV1
impl Send for ZwpRelativePointerManagerV1
impl Sync for ZwpRelativePointerManagerV1
impl Unpin for ZwpRelativePointerManagerV1
impl !UnwindSafe for ZwpRelativePointerManagerV1
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