Struct wayland_protocols::unstable::linux_dmabuf::v1::client::zwp_linux_dmabuf_v1::ZwpLinuxDmabufV1
source · pub struct ZwpLinuxDmabufV1(/* private fields */);
Implementations§
source§impl ZwpLinuxDmabufV1
impl ZwpLinuxDmabufV1
sourcepub fn destroy(&self)
pub 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.
sourcepub fn create_params(&self) -> Main<ZwpLinuxBufferParamsV1>
pub fn create_params(&self) -> Main<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.
Trait Implementations§
source§impl AsRef<Proxy<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
impl AsRef<Proxy<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
source§impl Clone for ZwpLinuxDmabufV1
impl Clone for ZwpLinuxDmabufV1
source§fn clone(&self) -> ZwpLinuxDmabufV1
fn clone(&self) -> ZwpLinuxDmabufV1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ZwpLinuxDmabufV1
impl Debug for ZwpLinuxDmabufV1
source§impl From<Proxy<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
impl From<Proxy<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
source§impl From<ZwpLinuxDmabufV1> for Proxy<ZwpLinuxDmabufV1>
impl From<ZwpLinuxDmabufV1> for Proxy<ZwpLinuxDmabufV1>
source§fn from(value: ZwpLinuxDmabufV1) -> Self
fn from(value: ZwpLinuxDmabufV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZwpLinuxDmabufV1
impl Interface for ZwpLinuxDmabufV1
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
source§impl PartialEq for ZwpLinuxDmabufV1
impl PartialEq for ZwpLinuxDmabufV1
source§fn eq(&self, other: &ZwpLinuxDmabufV1) -> bool
fn eq(&self, other: &ZwpLinuxDmabufV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZwpLinuxDmabufV1
impl StructuralEq for ZwpLinuxDmabufV1
impl StructuralPartialEq for ZwpLinuxDmabufV1
Auto Trait Implementations§
impl !RefUnwindSafe for ZwpLinuxDmabufV1
impl Send for ZwpLinuxDmabufV1
impl Sync for ZwpLinuxDmabufV1
impl Unpin for ZwpLinuxDmabufV1
impl !UnwindSafe for ZwpLinuxDmabufV1
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more