Struct wayland_client::wayland::data_device::WlDataSource [] [src]

pub struct WlDataSource {
    // some fields omitted
}

offer to transfer data

The wl_data_source object is the source side of a wl_data_offer. It is created by the source client in a data transfer and provides a way to describe the offered data and a way to respond to requests to transfer the data.

Methods

impl WlDataSource
[src]

add an offered mime type

This request adds a mime type to the set of mime types advertised to targets. Can be called several times to offer multiple types.

destroy the data source

Destroy the data source.

Trait Implementations

impl Sync for WlDataSource
[src]

impl Send for WlDataSource
[src]

impl Proxy for WlDataSource
[src]

The internal name of this interface, as advertized by the registry if it is a global.

The maximum version of this interface handled by the library.

Get the id of this proxy

Creates a proxy from a fresh ptr

Creates a proxy from a ptr that is managed elsewhere Read more

Set the event iterator associated to this proxy

impl Debug for WlDataSource
[src]

Formats the value using the given formatter.

impl Drop for WlDataSource
[src]

A method called when the value goes out of scope. Read more