Struct exr::meta::attribute::Chromaticities [−][src]
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
impl Chromaticities
[src]
impl Chromaticities
[src]Trait Implementations
impl Clone for Chromaticities
[src]
impl Clone for Chromaticities
[src]fn clone(&self) -> Chromaticities
[src]
fn clone(&self) -> Chromaticities
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for Chromaticities
[src]
impl Debug for Chromaticities
[src]impl PartialEq<Chromaticities> for Chromaticities
[src]
impl PartialEq<Chromaticities> for Chromaticities
[src]fn eq(&self, other: &Chromaticities) -> bool
[src]
fn eq(&self, other: &Chromaticities) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &Chromaticities) -> bool
[src]
fn ne(&self, other: &Chromaticities) -> bool
[src]This method tests for !=
.
impl Copy for Chromaticities
[src]
impl StructuralPartialEq for Chromaticities
[src]
Auto Trait Implementations
impl RefUnwindSafe for Chromaticities
impl Send for Chromaticities
impl Sync for Chromaticities
impl Unpin for Chromaticities
impl UnwindSafe for Chromaticities
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more