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