#[repr(u8)]pub enum ColorPrimaries {
Show 13 variants
Unknown = 0,
BT709 = 1,
Unspecified = 2,
BT470M = 4,
BT470BG = 5,
BT601 = 6,
SMPTE240 = 7,
Film = 8,
BT2020 = 9,
XYZ = 10,
SMPTE431 = 11,
SMPTE432 = 12,
EBU3213 = 22,
}Expand description
Color primaries (CIE 1931 xy chromaticity coordinates)
Variants§
Unknown = 0
BT709 = 1
Unspecified = 2
BT470M = 4
BT470BG = 5
BT601 = 6
SMPTE240 = 7
Film = 8
BT2020 = 9
XYZ = 10
SMPTE431 = 11
SMPTE432 = 12
EBU3213 = 22
Trait Implementations§
Source§impl Clone for ColorPrimaries
impl Clone for ColorPrimaries
Source§fn clone(&self) -> ColorPrimaries
fn clone(&self) -> ColorPrimaries
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 ColorPrimaries
impl Debug for ColorPrimaries
Source§impl From<Rav1dColorPrimaries> for ColorPrimaries
impl From<Rav1dColorPrimaries> for ColorPrimaries
Source§fn from(pri: Rav1dColorPrimaries) -> Self
fn from(pri: Rav1dColorPrimaries) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ColorPrimaries
impl PartialEq for ColorPrimaries
impl Copy for ColorPrimaries
impl Eq for ColorPrimaries
impl StructuralPartialEq for ColorPrimaries
Auto Trait Implementations§
impl Freeze for ColorPrimaries
impl RefUnwindSafe for ColorPrimaries
impl Send for ColorPrimaries
impl Sync for ColorPrimaries
impl Unpin for ColorPrimaries
impl UnsafeUnpin for ColorPrimaries
impl UnwindSafe for ColorPrimaries
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