pub struct ColorCharacteristics {
pub red: (f32, f32),
pub green: (f32, f32),
pub blue: (f32, f32),
pub white: (f32, f32),
pub white_points: Vec<WhitePoint>,
}Expand description
Color chromaticity coordinates expressed as CIE 1931 x, y coordinates, as well as additional white points given in the monitor descriptors.
Fields§
§red: (f32, f32)§green: (f32, f32)§blue: (f32, f32)§white: (f32, f32)§white_points: Vec<WhitePoint>Trait Implementations§
Source§impl Clone for ColorCharacteristics
impl Clone for ColorCharacteristics
Source§fn clone(&self) -> ColorCharacteristics
fn clone(&self) -> ColorCharacteristics
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ColorCharacteristics
impl RefUnwindSafe for ColorCharacteristics
impl Send for ColorCharacteristics
impl Sync for ColorCharacteristics
impl Unpin for ColorCharacteristics
impl UnwindSafe for ColorCharacteristics
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