[][src]Struct wayland_protocols::wlr::unstable::data_control::v1::server::zwlr_data_control_source_v1::ZwlrDataControlSourceV1

pub struct ZwlrDataControlSourceV1(_);

Methods

impl ZwlrDataControlSourceV1[src]

pub fn send(&self, mime_type: String, fd: RawFd)[src]

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.

pub fn cancelled(&self)[src]

selection was cancelled

This data source is no longer valid. The data source has been replaced by another data source.

The client should clean up and destroy this data source.

Trait Implementations

impl From<Resource<ZwlrDataControlSourceV1>> for ZwlrDataControlSourceV1[src]

impl From<ZwlrDataControlSourceV1> for Resource<ZwlrDataControlSourceV1>[src]

impl Clone for ZwlrDataControlSourceV1[src]

impl AsRef<Resource<ZwlrDataControlSourceV1>> for ZwlrDataControlSourceV1[src]

impl Eq for ZwlrDataControlSourceV1[src]

impl PartialEq<ZwlrDataControlSourceV1> for ZwlrDataControlSourceV1[src]

impl Interface for ZwlrDataControlSourceV1[src]

type Request = Request

Set of requests associated to this interface Read more

type Event = Event

Set of events associated to this interface Read more

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Downcast for T where
    T: Any