[][src]Trait wayland_client::protocol::wl_data_device_manager::RequestsTrait

pub trait RequestsTrait {
    fn create_data_source<F>(
        &self,
        implementor: F
    ) -> Result<Proxy<WlDataSource>, ()>
    where
        F: FnOnce(NewProxy<WlDataSource>) -> Proxy<WlDataSource>
;
fn get_data_device<F>(
        &self,
        seat: &Proxy<WlSeat>,
        implementor: F
    ) -> Result<Proxy<WlDataDevice>, ()>
    where
        F: FnOnce(NewProxy<WlDataDevice>) -> Proxy<WlDataDevice>
; }

Required methods

fn create_data_source<F>(
    &self,
    implementor: F
) -> Result<Proxy<WlDataSource>, ()> where
    F: FnOnce(NewProxy<WlDataSource>) -> Proxy<WlDataSource>, 

create a new data source

Create a new data source.

fn get_data_device<F>(
    &self,
    seat: &Proxy<WlSeat>,
    implementor: F
) -> Result<Proxy<WlDataDevice>, ()> where
    F: FnOnce(NewProxy<WlDataDevice>) -> Proxy<WlDataDevice>, 

create a new data device

Create a new data device for a given seat.

Loading content...

Implementors

impl RequestsTrait for Proxy<WlDataDeviceManager>[src]

Loading content...