pub struct P3;Expand description
Display P3 primaries (D65). Consumer D65 variant; DCI-P3 theatre uses D60.
Reference: SMPTE EG 432-1:2010.
Trait Implementations§
Source§impl Primaries for P3
impl Primaries for P3
Source§const TO_XYZ_NATIVE: Mat3 = P3_TO_XYZ
const TO_XYZ_NATIVE: Mat3 = P3_TO_XYZ
Linear RGB to CIE XYZ under Self::Native.
Source§const FROM_XYZ_NATIVE: Mat3 = P3_FROM_XYZ
const FROM_XYZ_NATIVE: Mat3 = P3_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 P3
impl Eq for P3
impl StructuralPartialEq for P3
Auto Trait Implementations§
impl Freeze for P3
impl RefUnwindSafe for P3
impl Send for P3
impl Sync for P3
impl Unpin for P3
impl UnsafeUnpin for P3
impl UnwindSafe for P3
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