pub struct Rec2020;Expand description
Rec. 2020 primaries (D65). Ultra-wide gamut; primaries lie on the spectral locus and are not physically realisable by current displays.
Reference: ITU-R BT.2020-2.
Trait Implementations§
Source§impl Primaries for Rec2020
impl Primaries for Rec2020
Source§const TO_XYZ_NATIVE: Mat3 = REC2020_TO_XYZ
const TO_XYZ_NATIVE: Mat3 = REC2020_TO_XYZ
Linear RGB to CIE XYZ under Self::Native.
Source§const FROM_XYZ_NATIVE: Mat3 = REC2020_FROM_XYZ
const FROM_XYZ_NATIVE: Mat3 = REC2020_FROM_XYZ
CIE XYZ under Self::Native to linear RGB.
Source§const LUMA_WEIGHTS: [f32; 3] = _
const LUMA_WEIGHTS: [f32; 3] = _
Luma coefficients [Kr, Kg, Kb] from the Y row of TO_XYZ_NATIVE.
impl Copy for Rec2020
impl Eq for Rec2020
impl StructuralPartialEq for Rec2020
Auto Trait Implementations§
impl Freeze for Rec2020
impl RefUnwindSafe for Rec2020
impl Send for Rec2020
impl Sync for Rec2020
impl Unpin for Rec2020
impl UnsafeUnpin for Rec2020
impl UnwindSafe for Rec2020
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