Enum wayland_protocols::unstable::linux_dmabuf::v1::client::zwp_linux_dmabuf_v1::Request [−][src]
#[non_exhaustive]
pub enum Request {
Destroy,
CreateParams {},
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Destroy
unbind the factory
Objects created through this interface, especially wl_buffers, will remain valid.
This is a destructor, once sent this object cannot be used any longer.
CreateParams
Fields
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.
Trait Implementations
Wire representation of this MessageGroup
The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more
Whether this message is a destructor Read more
Retrieve the child Object
associated with this message if any
Construct a message from its raw representation
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
Construct a message of this group from its C representation Read more
Build a C representation of this message Read more