Struct Chromaticities
pub struct Chromaticities { pub red: Vec2<f32>, pub green: Vec2<f32>, pub blue: Vec2<f32>, pub white: Vec2<f32> }
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
impl Chromaticities
const fn byte_size() -> usizeNumber of bytes this would consume in an exr file.
fn write<W: Write>(&self, write: &mut W) -> UnitResultWithout validation, write this instance to the byte stream.
fn read<R: Read>(read: &mut R) -> Result<Self>Read the value without validating.
Trait Implementations
impl Clone for Chromaticities
fn clone(&self) -> Self
impl Copy for Chromaticities
impl Debug for Chromaticities
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl PartialEq for Chromaticities
fn eq(&self, other: &Self) -> bool