pub enum ColorPrimaries {
Bt601,
Bt709,
Bt2020,
}Expand description
RGB primary chromaticities a source or export declares.
Variants§
Bt601
SD video primaries.
Bt709
HD video and sRGB primaries.
Bt2020
Wide-gamut BT.2020 primaries, normally indicating HDR input.
Trait Implementations§
Source§impl Clone for ColorPrimaries
impl Clone for ColorPrimaries
impl Copy for ColorPrimaries
Source§impl Debug for ColorPrimaries
impl Debug for ColorPrimaries
Source§impl<'de> Deserialize<'de> for ColorPrimaries
impl<'de> Deserialize<'de> for ColorPrimaries
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ColorPrimaries
Source§impl PartialEq for ColorPrimaries
impl PartialEq for ColorPrimaries
Source§impl Serialize for ColorPrimaries
impl Serialize 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