pub enum ColorSpace {
Unknown,
Bt601,
Bt709,
Smpte170,
Smpte240,
Bt2020,
Reserved,
Rgb,
}
Expand description
Color space.
Variants§
Unknown
Unknown (in this case the color space must be signaled outside the VP9 bitstream).
Bt601
Rec. ITU-R BT.601-7
Bt709
Rec. ITU-R BT.709-6
Smpte170
SMPTE-170
Smpte240
SMPTE-240
Bt2020
Rec. ITU-R BT.2020-2
Reserved
Reserved
Rgb
sRGB (IEC 61966-2-1)
Trait Implementations§
Source§impl Clone for ColorSpace
impl Clone for ColorSpace
Source§fn clone(&self) -> ColorSpace
fn clone(&self) -> ColorSpace
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 ColorSpace
impl Debug for ColorSpace
Source§impl From<u8> for ColorSpace
impl From<u8> for ColorSpace
Source§impl Ord for ColorSpace
impl Ord for ColorSpace
Source§fn cmp(&self, other: &ColorSpace) -> Ordering
fn cmp(&self, other: &ColorSpace) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ColorSpace
impl PartialEq for ColorSpace
Source§impl PartialOrd for ColorSpace
impl PartialOrd for ColorSpace
impl Copy for ColorSpace
impl Eq for ColorSpace
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 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