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

pub struct DataDeviceHandler { /* fields omitted */ }
Expand description

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

Initialize a data device handler

It needs access to a seat handler in order to track the creation and removal of seats.

Trait Implementations

Set the global drag’n’drop callback Read more

Access the data device associated with a seat Read more

Formats the value using the given formatter. Read more

This global was created and signaled in the registry with given id and version

Access the global if it was signaled

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.