#[non_exhaustive]#[repr(u32)]pub enum Dav1dMatrixCoefficients {
Show 15 variants
DAV1D_MC_IDENTITY = 0,
DAV1D_MC_BT709 = 1,
DAV1D_MC_UNKNOWN = 2,
DAV1D_MC_FCC = 4,
DAV1D_MC_BT470BG = 5,
DAV1D_MC_BT601 = 6,
DAV1D_MC_SMPTE240 = 7,
DAV1D_MC_SMPTE_YCGCO = 8,
DAV1D_MC_BT2020_NCL = 9,
DAV1D_MC_BT2020_CL = 10,
DAV1D_MC_SMPTE2085 = 11,
DAV1D_MC_CHROMAT_NCL = 12,
DAV1D_MC_CHROMAT_CL = 13,
DAV1D_MC_ICTCP = 14,
DAV1D_MC_RESERVED = 255,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DAV1D_MC_IDENTITY = 0
DAV1D_MC_BT709 = 1
DAV1D_MC_UNKNOWN = 2
DAV1D_MC_FCC = 4
DAV1D_MC_BT470BG = 5
DAV1D_MC_BT601 = 6
DAV1D_MC_SMPTE240 = 7
DAV1D_MC_SMPTE_YCGCO = 8
DAV1D_MC_BT2020_NCL = 9
DAV1D_MC_BT2020_CL = 10
DAV1D_MC_SMPTE2085 = 11
DAV1D_MC_CHROMAT_NCL = 12
< Chromaticity-derived
DAV1D_MC_CHROMAT_CL = 13
DAV1D_MC_ICTCP = 14
DAV1D_MC_RESERVED = 255
Trait Implementations§
source§impl Clone for Dav1dMatrixCoefficients
impl Clone for Dav1dMatrixCoefficients
source§fn clone(&self) -> Dav1dMatrixCoefficients
fn clone(&self) -> Dav1dMatrixCoefficients
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 Dav1dMatrixCoefficients
impl Debug for Dav1dMatrixCoefficients
source§impl Hash for Dav1dMatrixCoefficients
impl Hash for Dav1dMatrixCoefficients
source§impl PartialEq for Dav1dMatrixCoefficients
impl PartialEq for Dav1dMatrixCoefficients
source§fn eq(&self, other: &Dav1dMatrixCoefficients) -> bool
fn eq(&self, other: &Dav1dMatrixCoefficients) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Dav1dMatrixCoefficients
impl Eq for Dav1dMatrixCoefficients
impl StructuralPartialEq for Dav1dMatrixCoefficients
Auto Trait Implementations§
impl Freeze for Dav1dMatrixCoefficients
impl RefUnwindSafe for Dav1dMatrixCoefficients
impl Send for Dav1dMatrixCoefficients
impl Sync for Dav1dMatrixCoefficients
impl Unpin for Dav1dMatrixCoefficients
impl UnwindSafe for Dav1dMatrixCoefficients
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)