[][src]Trait wayland_protocols::unstable::primary_selection::v1::client::zwp_primary_selection_device_manager_v1::RequestsTrait

pub trait RequestsTrait {
    fn create_source<F>(
        &self,
        implementor: F
    ) -> Result<Proxy<ZwpPrimarySelectionSourceV1>, ()>
    where
        F: FnOnce(NewProxy<ZwpPrimarySelectionSourceV1>) -> Proxy<ZwpPrimarySelectionSourceV1>
;
fn get_device<F>(
        &self,
        seat: &Proxy<WlSeat>,
        implementor: F
    ) -> Result<Proxy<ZwpPrimarySelectionDeviceV1>, ()>
    where
        F: FnOnce(NewProxy<ZwpPrimarySelectionDeviceV1>) -> Proxy<ZwpPrimarySelectionDeviceV1>
;
fn destroy(&self); }

Required methods

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

create a new primary selection source

Create a new primary selection source.

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

create a new primary selection device

Create a new data device for a given seat.

fn destroy(&self)

destroy the primary selection device manager

Destroy the primary selection device manager.

This is a destructor, you cannot send requests to this object any longer once this method is called.

Loading content...

Implementations on Foreign Types

impl RequestsTrait for Proxy<ZwpPrimarySelectionDeviceManagerV1>[src]

Loading content...

Implementors

Loading content...