[][src]Struct smithay_client_toolkit::data_device::DataDeviceHandler

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.