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
Source§fn clone(&self) -> Chromaticity12
fn clone(&self) -> Chromaticity12
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Chromaticity12
impl Debug for Chromaticity12
Source§impl Default for Chromaticity12
impl Default for Chromaticity12
Source§fn default() -> Chromaticity12
fn default() -> Chromaticity12
Returns the “default value” for a type. Read more
Source§impl PartialEq for Chromaticity12
impl PartialEq for Chromaticity12
Source§fn eq(&self, other: &Chromaticity12) -> bool
fn eq(&self, other: &Chromaticity12) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Chromaticity12
impl Eq 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