Struct smithay::backend::allocator::dmabuf::DmabufBuilder [−][src]
pub struct DmabufBuilder { /* fields omitted */ }
Expand description
Builder for Dmabufs
Implementations
Add a plane to the constructed Dmabuf
Note: Each Dmabuf needs at least one plane. MAX_PLANES notes the maximum amount of planes any format may use with this implementation.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DmabufBuilder
impl Send for DmabufBuilder
impl Sync for DmabufBuilder
impl Unpin for DmabufBuilder
impl UnwindSafe for DmabufBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
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
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
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
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
pub fn vzip(self) -> V