Struct smithay_client_toolkit::data_device::DataSource[][src]

pub struct DataSource { /* fields omitted */ }

A data source for sending data though copy/paste or drag and drop

Methods

impl DataSource
[src]

Create a new data source

You'll then need to provide it to a data device to send it either wia selection (aka copy/paste) or via a drag and drop.

Create a data source

Like new, but the implementation does not require to be Send.

unsafety: for the same reasons as NewProxy::implement_nonsend

Auto Trait Implementations

impl Send for DataSource

impl Sync for DataSource