Enum wayland_protocols::unstable::linux_dmabuf::v1::server::zwp_linux_dmabuf_v1::Request
[−]
[src]
pub enum Request {
Destroy,
CreateParams {
params_id: NewResource<ZwpLinuxBufferParamsV1>,
},
}Variants
Destroyunbind 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.
CreateParamscreate 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]
fn is_destructor(&self) -> bool[src]
Whether this message is a destructor Read more
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
Construct a message of this group from its C representation
fn as_raw_c_in<F, T>(self, f: F) -> T where
F: FnOnce(u32, &mut [wl_argument]) -> T, [src]
F: FnOnce(u32, &mut [wl_argument]) -> T,
Build a C representation of this message Read more