Struct ffmpeg_sys_next::AVDRMLayerDescriptor
source · #[repr(C)]pub struct AVDRMLayerDescriptor {
pub format: u32,
pub nb_planes: c_int,
pub planes: [AVDRMPlaneDescriptor; 4],
}
Expand description
DRM layer descriptor.
Describes a single layer within a frame. This has the structure defined by its format, and will contain one or more planes.
Fields§
§format: u32
Format of the layer (DRM_FORMAT_*).
nb_planes: c_int
Number of planes in the layer.
This must match the number of planes required by format.
planes: [AVDRMPlaneDescriptor; 4]
Array of planes in this layer.
Trait Implementations§
source§impl Clone for AVDRMLayerDescriptor
impl Clone for AVDRMLayerDescriptor
source§fn clone(&self) -> AVDRMLayerDescriptor
fn clone(&self) -> AVDRMLayerDescriptor
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 AVDRMLayerDescriptor
impl Debug for AVDRMLayerDescriptor
source§impl PartialEq for AVDRMLayerDescriptor
impl PartialEq for AVDRMLayerDescriptor
source§fn eq(&self, other: &AVDRMLayerDescriptor) -> bool
fn eq(&self, other: &AVDRMLayerDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AVDRMLayerDescriptor
impl Eq for AVDRMLayerDescriptor
impl StructuralPartialEq for AVDRMLayerDescriptor
Auto Trait Implementations§
impl Freeze for AVDRMLayerDescriptor
impl RefUnwindSafe for AVDRMLayerDescriptor
impl Send for AVDRMLayerDescriptor
impl Sync for AVDRMLayerDescriptor
impl Unpin for AVDRMLayerDescriptor
impl UnwindSafe for AVDRMLayerDescriptor
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