Struct wayland_protocols::unstable::primary_selection::v1::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1
source · pub struct ZwpPrimarySelectionDeviceManagerV1(/* private fields */);
Implementations§
source§impl ZwpPrimarySelectionDeviceManagerV1
impl ZwpPrimarySelectionDeviceManagerV1
sourcepub fn create_source(&self) -> Main<ZwpPrimarySelectionSourceV1>
pub fn create_source(&self) -> Main<ZwpPrimarySelectionSourceV1>
create a new primary selection source
Create a new primary selection source.
sourcepub fn get_device(&self, seat: &WlSeat) -> Main<ZwpPrimarySelectionDeviceV1>
pub fn get_device(&self, seat: &WlSeat) -> Main<ZwpPrimarySelectionDeviceV1>
create a new primary selection device
Create a new data device for a given seat.
Trait Implementations§
source§impl Clone for ZwpPrimarySelectionDeviceManagerV1
impl Clone for ZwpPrimarySelectionDeviceManagerV1
source§fn clone(&self) -> ZwpPrimarySelectionDeviceManagerV1
fn clone(&self) -> ZwpPrimarySelectionDeviceManagerV1
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 From<ZwpPrimarySelectionDeviceManagerV1> for Proxy<ZwpPrimarySelectionDeviceManagerV1>
impl From<ZwpPrimarySelectionDeviceManagerV1> for Proxy<ZwpPrimarySelectionDeviceManagerV1>
source§fn from(value: ZwpPrimarySelectionDeviceManagerV1) -> Self
fn from(value: ZwpPrimarySelectionDeviceManagerV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZwpPrimarySelectionDeviceManagerV1
impl Interface for ZwpPrimarySelectionDeviceManagerV1
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 ZwpPrimarySelectionDeviceManagerV1
impl PartialEq for ZwpPrimarySelectionDeviceManagerV1
source§fn eq(&self, other: &ZwpPrimarySelectionDeviceManagerV1) -> bool
fn eq(&self, other: &ZwpPrimarySelectionDeviceManagerV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZwpPrimarySelectionDeviceManagerV1
impl StructuralEq for ZwpPrimarySelectionDeviceManagerV1
impl StructuralPartialEq for ZwpPrimarySelectionDeviceManagerV1
Auto Trait Implementations§
impl !RefUnwindSafe for ZwpPrimarySelectionDeviceManagerV1
impl Send for ZwpPrimarySelectionDeviceManagerV1
impl Sync for ZwpPrimarySelectionDeviceManagerV1
impl Unpin for ZwpPrimarySelectionDeviceManagerV1
impl !UnwindSafe for ZwpPrimarySelectionDeviceManagerV1
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