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: u32Format of the layer (DRM_FORMAT_*).
nb_planes: c_intNumber 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
sourceimpl Clone for AVDRMLayerDescriptor
impl Clone for AVDRMLayerDescriptor
sourcefn clone(&self) -> AVDRMLayerDescriptor
fn clone(&self) -> AVDRMLayerDescriptor
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 AVDRMLayerDescriptor
impl Debug for AVDRMLayerDescriptor
sourceimpl PartialEq<AVDRMLayerDescriptor> for AVDRMLayerDescriptor
impl PartialEq<AVDRMLayerDescriptor> for AVDRMLayerDescriptor
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &AVDRMLayerDescriptor) -> bool
fn ne(&self, other: &AVDRMLayerDescriptor) -> bool
This method tests for !=.
impl Copy for AVDRMLayerDescriptor
impl Eq for AVDRMLayerDescriptor
impl StructuralEq for AVDRMLayerDescriptor
impl StructuralPartialEq for AVDRMLayerDescriptor
Auto Trait Implementations
impl RefUnwindSafe for AVDRMLayerDescriptor
impl Send for AVDRMLayerDescriptor
impl Sync for AVDRMLayerDescriptor
impl Unpin for AVDRMLayerDescriptor
impl UnwindSafe for AVDRMLayerDescriptor
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