pub struct ColorimetryInfo {
pub red: Chromaticity,
pub green: Chromaticity,
pub blue: Chromaticity,
pub white: Chromaticity,
pub has_primaries: bool,
pub has_default_white: bool,
}Expand description
The display’s color primaries and white point.
Fields§
§red: ChromaticityRed primary.
green: ChromaticityGreen primary.
blue: ChromaticityBlue primary.
white: ChromaticityDefault white point.
has_primaries: boolWhether the primaries are present. When false the three above are meaningless rather than zero-valued.
has_default_white: boolWhether the white point is present.
Trait Implementations§
Source§impl Clone for ColorimetryInfo
impl Clone for ColorimetryInfo
impl Copy for ColorimetryInfo
Source§impl Debug for ColorimetryInfo
impl Debug for ColorimetryInfo
Source§impl Default for ColorimetryInfo
impl Default for ColorimetryInfo
Source§impl PartialEq for ColorimetryInfo
impl PartialEq for ColorimetryInfo
impl StructuralPartialEq for ColorimetryInfo
Auto Trait Implementations§
impl Freeze for ColorimetryInfo
impl RefUnwindSafe for ColorimetryInfo
impl Send for ColorimetryInfo
impl Sync for ColorimetryInfo
impl Unpin for ColorimetryInfo
impl UnsafeUnpin for ColorimetryInfo
impl UnwindSafe for ColorimetryInfo
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