[][src]Enum wayland_protocols::unstable::linux_dmabuf::v1::server::zwp_linux_dmabuf_v1::Request

pub enum Request {
    Destroy,
    CreateParams {
        params_id: NewResource<ZwpLinuxBufferParamsV1>,
    },
}

Variants

Destroy

unbind the factory

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

This is a destructor, once received this object cannot be used any longer.

CreateParams

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.

Fields of CreateParams

params_id: NewResource<ZwpLinuxBufferParamsV1>

Trait Implementations

impl MessageGroup for Request[src]

type Map = ResourceMap

The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more

Auto Trait Implementations

impl !Send for Request

impl !Sync for Request

Blanket Implementations

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

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

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]