[][src]Trait wayland_protocols::unstable::linux_dmabuf::v1::client::zwp_linux_dmabuf_v1::RequestsTrait

pub trait RequestsTrait {
    fn destroy(&self);
fn create_params<F>(
        &self,
        implementor: F
    ) -> Result<Proxy<ZwpLinuxBufferParamsV1>, ()>
    where
        F: FnOnce(NewProxy<ZwpLinuxBufferParamsV1>) -> Proxy<ZwpLinuxBufferParamsV1>
; }

Required methods

fn destroy(&self)

unbind the factory

Objects created through this interface, especially wl_buffers, will remain valid.

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

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

create a temporary object for buffer parameters

This temporary object is used to collect multiple dmabuf handles into a single batch to create a wl_buffer. It can only be used once and should be destroyed after a 'created' or 'failed' event has been received.

Loading content...

Implementations on Foreign Types

impl RequestsTrait for Proxy<ZwpLinuxDmabufV1>[src]

Loading content...

Implementors

Loading content...