#[repr(u8)]pub enum ColorMatrix {
Show 16 variants
Identity = 0,
BT709 = 1,
Unspecified = 2,
Reserved = 3,
FCC = 4,
BT470BG = 5,
SMPTE170M = 6,
SMPTE240M = 7,
YCgCo = 8,
BT2020NCL = 9,
BT2020CL = 10,
SMPTE2085 = 11,
ChromaDerivedNCL = 12,
ChromaDerivedCL = 13,
ICtCp = 14,
SMPTE2128 = 15,
}Variants§
Identity = 0
BT709 = 1
Unspecified = 2
Reserved = 3
FCC = 4
BT470BG = 5
SMPTE170M = 6
SMPTE240M = 7
YCgCo = 8
BT2020NCL = 9
BT2020CL = 10
SMPTE2085 = 11
ChromaDerivedNCL = 12
ChromaDerivedCL = 13
ICtCp = 14
SMPTE2128 = 15
Trait Implementations§
Source§impl Clone for ColorMatrix
impl Clone for ColorMatrix
Source§fn clone(&self) -> ColorMatrix
fn clone(&self) -> ColorMatrix
Returns a duplicate 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 ColorMatrix
impl Debug for ColorMatrix
Source§impl Default for ColorMatrix
impl Default for ColorMatrix
Source§fn default() -> ColorMatrix
fn default() -> ColorMatrix
Returns the “default value” for a type. Read more
Source§impl PartialEq for ColorMatrix
impl PartialEq for ColorMatrix
Source§impl TryFrom<usize> for ColorMatrix
impl TryFrom<usize> for ColorMatrix
impl Copy for ColorMatrix
impl Eq for ColorMatrix
impl StructuralPartialEq for ColorMatrix
Auto Trait Implementations§
impl Freeze for ColorMatrix
impl RefUnwindSafe for ColorMatrix
impl Send for ColorMatrix
impl Sync for ColorMatrix
impl Unpin for ColorMatrix
impl UnwindSafe for ColorMatrix
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more