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 for Chromaticities
impl PartialEq 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 ==
.impl Copy for Chromaticities
impl StructuralPartialEq for Chromaticities
Auto Trait Implementations§
impl Freeze for Chromaticities
impl RefUnwindSafe for Chromaticities
impl Send for Chromaticities
impl Sync for Chromaticities
impl Unpin for Chromaticities
impl UnwindSafe for Chromaticities
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