Struct wayland_protocols::wlr::unstable::data_control::v1::client::zwlr_data_control_manager_v1::ZwlrDataControlManagerV1
source · pub struct ZwlrDataControlManagerV1(/* private fields */);
Implementations§
source§impl ZwlrDataControlManagerV1
impl ZwlrDataControlManagerV1
sourcepub fn create_data_source(&self) -> Main<ZwlrDataControlSourceV1>
pub fn create_data_source(&self) -> Main<ZwlrDataControlSourceV1>
create a new data source
Create a new data source.
sourcepub fn get_data_device(&self, seat: &WlSeat) -> Main<ZwlrDataControlDeviceV1>
pub fn get_data_device(&self, seat: &WlSeat) -> Main<ZwlrDataControlDeviceV1>
get a data device for a seat
Create a data device that can be used to manage a seat’s selection.
Trait Implementations§
source§impl Clone for ZwlrDataControlManagerV1
impl Clone for ZwlrDataControlManagerV1
source§fn clone(&self) -> ZwlrDataControlManagerV1
fn clone(&self) -> ZwlrDataControlManagerV1
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 ZwlrDataControlManagerV1
impl Debug for ZwlrDataControlManagerV1
source§impl From<ZwlrDataControlManagerV1> for Proxy<ZwlrDataControlManagerV1>
impl From<ZwlrDataControlManagerV1> for Proxy<ZwlrDataControlManagerV1>
source§fn from(value: ZwlrDataControlManagerV1) -> Self
fn from(value: ZwlrDataControlManagerV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZwlrDataControlManagerV1
impl Interface for ZwlrDataControlManagerV1
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 ZwlrDataControlManagerV1
impl PartialEq for ZwlrDataControlManagerV1
source§fn eq(&self, other: &ZwlrDataControlManagerV1) -> bool
fn eq(&self, other: &ZwlrDataControlManagerV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZwlrDataControlManagerV1
impl StructuralEq for ZwlrDataControlManagerV1
impl StructuralPartialEq for ZwlrDataControlManagerV1
Auto Trait Implementations§
impl !RefUnwindSafe for ZwlrDataControlManagerV1
impl Send for ZwlrDataControlManagerV1
impl Sync for ZwlrDataControlManagerV1
impl Unpin for ZwlrDataControlManagerV1
impl !UnwindSafe for ZwlrDataControlManagerV1
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