pub enum ColorSpace {
Bt601,
Bt709,
Bt2020,
}Variants§
Bt601
Bt709
Bt2020
Covers both Bt2020 non-constant luminance and constant luminance
matrix variants (ITU-T H.273 matrix_coefficients 9 and 10). The
distinction rarely matters at the decode interface — downstream
mux writes it into the colr nclx box’s matrix_coefficients
field which is carried separately on StreamInfo via the raw
matrix_coefficients u8, not re-derived from this enum.
Trait Implementations§
Source§impl Clone for ColorSpace
impl Clone for ColorSpace
Source§fn clone(&self) -> ColorSpace
fn clone(&self) -> ColorSpace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ColorSpace
Source§impl Debug for ColorSpace
impl Debug for ColorSpace
impl Eq for ColorSpace
Source§impl PartialEq for ColorSpace
impl PartialEq for ColorSpace
Source§fn eq(&self, other: &ColorSpace) -> bool
fn eq(&self, other: &ColorSpace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColorSpace
Auto Trait Implementations§
impl Freeze for ColorSpace
impl RefUnwindSafe for ColorSpace
impl Send for ColorSpace
impl Sync for ColorSpace
impl Unpin for ColorSpace
impl UnsafeUnpin for ColorSpace
impl UnwindSafe for ColorSpace
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