Struct wayland_protocols::wlr::unstable::virtual_pointer::v1::client::zwlr_virtual_pointer_manager_v1::ZwlrVirtualPointerManagerV1
source · pub struct ZwlrVirtualPointerManagerV1(/* private fields */);
Implementations§
source§impl ZwlrVirtualPointerManagerV1
impl ZwlrVirtualPointerManagerV1
sourcepub fn create_virtual_pointer(
&self,
seat: Option<&WlSeat>
) -> Main<ZwlrVirtualPointerV1>
pub fn create_virtual_pointer( &self, seat: Option<&WlSeat> ) -> Main<ZwlrVirtualPointerV1>
Create a new virtual pointer
Creates a new virtual pointer. The optional seat is a suggestion to the compositor.
sourcepub fn destroy(&self)
pub fn destroy(&self)
destroy the virtual pointer manager
This is a destructor, you cannot send requests to this object any longer once this method is called.
sourcepub fn create_virtual_pointer_with_output(
&self,
seat: Option<&WlSeat>,
output: Option<&WlOutput>
) -> Main<ZwlrVirtualPointerV1>
pub fn create_virtual_pointer_with_output( &self, seat: Option<&WlSeat>, output: Option<&WlOutput> ) -> Main<ZwlrVirtualPointerV1>
Create a new virtual pointer
Creates a new virtual pointer. The seat and the output arguments are optional. If the seat argument is set, the compositor should assign the input device to the requested seat. If the output argument is set, the compositor should map the input device to the requested output.
Only available since version 2 of the interface.
Trait Implementations§
source§impl Clone for ZwlrVirtualPointerManagerV1
impl Clone for ZwlrVirtualPointerManagerV1
source§fn clone(&self) -> ZwlrVirtualPointerManagerV1
fn clone(&self) -> ZwlrVirtualPointerManagerV1
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 ZwlrVirtualPointerManagerV1
impl Debug for ZwlrVirtualPointerManagerV1
source§impl From<ZwlrVirtualPointerManagerV1> for Proxy<ZwlrVirtualPointerManagerV1>
impl From<ZwlrVirtualPointerManagerV1> for Proxy<ZwlrVirtualPointerManagerV1>
source§fn from(value: ZwlrVirtualPointerManagerV1) -> Self
fn from(value: ZwlrVirtualPointerManagerV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZwlrVirtualPointerManagerV1
impl Interface for ZwlrVirtualPointerManagerV1
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 ZwlrVirtualPointerManagerV1
impl PartialEq for ZwlrVirtualPointerManagerV1
source§fn eq(&self, other: &ZwlrVirtualPointerManagerV1) -> bool
fn eq(&self, other: &ZwlrVirtualPointerManagerV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZwlrVirtualPointerManagerV1
impl StructuralEq for ZwlrVirtualPointerManagerV1
impl StructuralPartialEq for ZwlrVirtualPointerManagerV1
Auto Trait Implementations§
impl !RefUnwindSafe for ZwlrVirtualPointerManagerV1
impl Send for ZwlrVirtualPointerManagerV1
impl Sync for ZwlrVirtualPointerManagerV1
impl Unpin for ZwlrVirtualPointerManagerV1
impl !UnwindSafe for ZwlrVirtualPointerManagerV1
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