Struct smithay_client_toolkit::data_device::DataDeviceHandler [−][src]
pub struct DataDeviceHandler { /* fields omitted */ }
A handler for data devices
It provides automatic tracking of data device for each available seat, allowing you to manipulate selection clipboard and drag&drop manipulations.
It is automatically included in the default_environment!
.
Implementations
impl DataDeviceHandler
[src][−]
pub fn init<S>(seat_handler: &mut S) -> DataDeviceHandler where
S: SeatHandling,
[src][−]
S: SeatHandling,
Initialize a data device handler
It needs access to a seat handler in order to track the creation and removal of seats.
Trait Implementations
impl DataDeviceHandling for DataDeviceHandler
[src][+]
impl GlobalHandler<WlDataDeviceManager> for DataDeviceHandler
[src][+]
Auto Trait Implementations
impl !RefUnwindSafe for DataDeviceHandler
impl !Send for DataDeviceHandler
impl !Sync for DataDeviceHandler
impl Unpin for DataDeviceHandler
impl !UnwindSafe for DataDeviceHandler
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>,