pub struct ColorPrimaries {
pub has_primaries: bool,
pub has_default_white_point: bool,
pub primary: [ChromaticityCie1931; 3],
pub default_white: ChromaticityCie1931,
}Available on crate features
v0_2 or v0_3 only.Expand description
Display color primaries and default white point
Fields§
§has_primaries: bool§has_default_white_point: bool§primary: [ChromaticityCie1931; 3]§default_white: ChromaticityCie1931Trait Implementations§
Source§impl Clone for ColorPrimaries
impl Clone for ColorPrimaries
Source§fn clone(&self) -> ColorPrimaries
fn clone(&self) -> ColorPrimaries
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 moreSource§impl Debug for ColorPrimaries
impl Debug for ColorPrimaries
Source§impl From<di_color_primaries> for ColorPrimaries
impl From<di_color_primaries> for ColorPrimaries
Source§fn from(value: di_color_primaries) -> ColorPrimaries
fn from(value: di_color_primaries) -> ColorPrimaries
Converts to this type from the input type.
impl Copy for ColorPrimaries
Auto Trait Implementations§
impl Freeze for ColorPrimaries
impl RefUnwindSafe for ColorPrimaries
impl Send for ColorPrimaries
impl Sync for ColorPrimaries
impl Unpin for ColorPrimaries
impl UnwindSafe for ColorPrimaries
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