Struct smithay_client_toolkit::primary_selection::PrimarySelectionHandler [−][src]
pub struct PrimarySelectionHandler { /* fields omitted */ }
A handler for primary selection.
It provides automatic tracking of primary selection device for each available seat, allowing you to manipulate the primary selection clipboard.
It’s automatically included in the default_environment!
.
Implementations
impl PrimarySelectionHandler
[src][−]
pub fn init<S: SeatHandling>(seat_handler: &mut S) -> Self
[src][−]
Initialize a primary selection handler.
In requires the access to the seat handler in order to track the creation and removal of seats.
Trait Implementations
impl GlobalHandler<GtkPrimarySelectionDeviceManager> for PrimarySelectionHandler
[src][+]
impl GlobalHandler<ZwpPrimarySelectionDeviceManagerV1> for PrimarySelectionHandler
[src][+]
impl PrimarySelectionHandling for PrimarySelectionHandler
[src][+]
Auto Trait Implementations
impl !RefUnwindSafe for PrimarySelectionHandler
impl !Send for PrimarySelectionHandler
impl !Sync for PrimarySelectionHandler
impl Unpin for PrimarySelectionHandler
impl !UnwindSafe for PrimarySelectionHandler
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,