Enum wayland_client::wayland::data_device::WlDataSourceEvent [] [src]

pub enum WlDataSourceEvent {
    Target(String),
    Send(String, RawFd),
    Cancelled,
}

Variants

Target

a target accepts an offered mime type

Sent when a target accepts pointer_focus or motion events. If a target does not accept any of the offered types, type is NULL.

Used for feedback during drag-and-drop.

Values: mime_type,

Send

send the data

Request for data from the client. Send the data as the specified mime type over the passed file descriptor, then close it.

Values: mime_type, fd,

Cancelled

selection was cancelled

This data source has been replaced by another data source. The client should clean up and destroy this data source.

Trait Implementations

Derived Implementations

impl Debug for WlDataSourceEvent

fn fmt(&self, __arg_0: &mut Formatter) -> Result