Struct wayland_protocols::unstable::linux_dmabuf::v1::client::zwp_linux_dmabuf_v1::ZwpLinuxDmabufV1
source · [−]pub struct ZwpLinuxDmabufV1(_);
Implementations
sourceimpl 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
sourceimpl AsRef<Proxy<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
impl AsRef<Proxy<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
sourceimpl Clone for ZwpLinuxDmabufV1
impl Clone for ZwpLinuxDmabufV1
sourcefn clone(&self) -> ZwpLinuxDmabufV1
fn clone(&self) -> ZwpLinuxDmabufV1
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ZwpLinuxDmabufV1
impl Debug for ZwpLinuxDmabufV1
sourceimpl From<Proxy<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
impl From<Proxy<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
sourceimpl From<ZwpLinuxDmabufV1> for Proxy<ZwpLinuxDmabufV1>
impl From<ZwpLinuxDmabufV1> for Proxy<ZwpLinuxDmabufV1>
sourcefn from(value: ZwpLinuxDmabufV1) -> Self
fn from(value: ZwpLinuxDmabufV1) -> Self
Converts to this type from the input type.
sourceimpl Interface for ZwpLinuxDmabufV1
impl Interface for ZwpLinuxDmabufV1
sourcefn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
sourceimpl PartialEq<ZwpLinuxDmabufV1> for ZwpLinuxDmabufV1
impl PartialEq<ZwpLinuxDmabufV1> for ZwpLinuxDmabufV1
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more