pub enum LinearPrimaries {
Bt709,
Bt2020,
P3D65,
AcesAp0,
AcesAp1,
}Expand description
Named RGB primaries linear-light media may be in, each with its own white point.
Variants§
Bt709
ITU-R BT.709 and sRGB, D65 white.
Bt2020
ITU-R BT.2020, D65 white.
P3D65
DCI-P3 primaries with a D65 white, as Display P3.
AcesAp0
ACES AP0 (SMPTE ST 2065-1), the ACES white.
AcesAp1
ACES AP1 (ACEScg), the ACES white.
Trait Implementations§
Source§impl Clone for LinearPrimaries
impl Clone for LinearPrimaries
impl Copy for LinearPrimaries
Source§impl Debug for LinearPrimaries
impl Debug for LinearPrimaries
Source§impl<'de> Deserialize<'de> for LinearPrimaries
impl<'de> Deserialize<'de> for LinearPrimaries
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 LinearPrimaries
Source§impl PartialEq for LinearPrimaries
impl PartialEq for LinearPrimaries
Source§impl Serialize for LinearPrimaries
impl Serialize for LinearPrimaries
impl StructuralPartialEq for LinearPrimaries
Auto Trait Implementations§
impl Freeze for LinearPrimaries
impl RefUnwindSafe for LinearPrimaries
impl Send for LinearPrimaries
impl Sync for LinearPrimaries
impl Unpin for LinearPrimaries
impl UnsafeUnpin for LinearPrimaries
impl UnwindSafe for LinearPrimaries
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