pub struct Chromaticity12 {
pub primary1: ChromaticityPoint12,
pub primary2: ChromaticityPoint12,
pub primary3: ChromaticityPoint12,
pub white: ChromaticityPoint12,
}Expand description
Factory-calibrated color primaries and white point from DisplayID 2.x block 0x21.
Chromaticity values use 12-bit fixed-point encoding; see ChromaticityPoint12.
Fields§
§primary1: ChromaticityPoint12Primary color 1 (red) chromaticity.
primary2: ChromaticityPoint12Primary color 2 (green) chromaticity.
primary3: ChromaticityPoint12Primary color 3 (blue) chromaticity.
white: ChromaticityPoint12White point chromaticity.
Trait Implementations§
Source§impl Clone for Chromaticity12
impl Clone for Chromaticity12
impl Copy for Chromaticity12
Source§impl Debug for Chromaticity12
impl Debug for Chromaticity12
Source§impl Default for Chromaticity12
impl Default for Chromaticity12
impl Eq for Chromaticity12
Source§impl PartialEq for Chromaticity12
impl PartialEq for Chromaticity12
impl StructuralPartialEq for Chromaticity12
Auto Trait Implementations§
impl Freeze for Chromaticity12
impl RefUnwindSafe for Chromaticity12
impl Send for Chromaticity12
impl Sync for Chromaticity12
impl Unpin for Chromaticity12
impl UnsafeUnpin for Chromaticity12
impl UnwindSafe for Chromaticity12
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