Struct exr::meta::attribute::Chromaticities
source · pub struct Chromaticities {
pub red: Vec2<f32>,
pub green: Vec2<f32>,
pub blue: Vec2<f32>,
pub white: Vec2<f32>,
}
Expand description
The color space of the pixels.
If a file doesn’t have a chromaticities attribute, display software
should assume that the file’s primaries and the white point match Rec. ITU-R BT.709-3
.
Fields§
§red: Vec2<f32>
“Red” location on the CIE XY chromaticity diagram.
green: Vec2<f32>
“Green” location on the CIE XY chromaticity diagram.
blue: Vec2<f32>
“Blue” location on the CIE XY chromaticity diagram.
white: Vec2<f32>
“White” location on the CIE XY chromaticity diagram.
Implementations§
Trait Implementations§
source§impl Clone for Chromaticities
impl Clone for Chromaticities
source§fn clone(&self) -> Chromaticities
fn clone(&self) -> Chromaticities
Returns a copy of the value. Read more
1.0.0 · 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 Chromaticities
impl Debug for Chromaticities
source§impl PartialEq<Chromaticities> for Chromaticities
impl PartialEq<Chromaticities> for Chromaticities
source§fn eq(&self, other: &Chromaticities) -> bool
fn eq(&self, other: &Chromaticities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.