#[non_exhaustive]pub enum MatrixCoefficients {
Rgb = 0,
Bt709 = 1,
Unspecified = 2,
Bt601 = 6,
Ycgco = 8,
Bt2020Ncl = 9,
Bt2020Cl = 10,
}
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.
Rgb = 0
GBR (sRGB)
Bt709 = 1
ITU-R BT1361
Unspecified = 2
Bt601 = 6
ITU-R BT601-6 525
Ycgco = 8
Bt2020Ncl = 9
ITU-R BT2020 non-constant luminance system
Bt2020Cl = 10
ITU-R BT2020 constant luminance system
Trait Implementations§
Source§impl Clone for MatrixCoefficients
impl Clone for MatrixCoefficients
Source§fn clone(&self) -> MatrixCoefficients
fn clone(&self) -> MatrixCoefficients
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 MatrixCoefficients
impl Debug for MatrixCoefficients
Source§impl PartialEq for MatrixCoefficients
impl PartialEq for MatrixCoefficients
impl Copy for MatrixCoefficients
impl Eq for MatrixCoefficients
impl StructuralPartialEq for MatrixCoefficients
Auto Trait Implementations§
impl Freeze for MatrixCoefficients
impl RefUnwindSafe for MatrixCoefficients
impl Send for MatrixCoefficients
impl Sync for MatrixCoefficients
impl Unpin for MatrixCoefficients
impl UnwindSafe for MatrixCoefficients
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