Struct ColorPrimaries

pub struct ColorPrimaries { pub red: SingleColorPrimary, pub green: SingleColorPrimary, pub blue: SingleColorPrimary, pub white_point: SingleColorPrimary }

A collection of red,green and blue color primaries placed in one struct for easy manipulation

Fields

red: SingleColorPrimary

Red color primaries

green: SingleColorPrimary

Green color primaries

blue: SingleColorPrimary

Blue color primaries

white_point: SingleColorPrimary

Trait Implementations

impl Clone for ColorPrimaries

fn clone(&self) -> Self

impl Copy for ColorPrimaries

impl Debug for ColorPrimaries

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for ColorPrimaries

fn default() -> Self

Auto Trait Implementations

impl Freeze for ColorPrimaries

impl RefUnwindSafe for ColorPrimaries

impl Send for ColorPrimaries

impl Sync for ColorPrimaries

impl Unpin for ColorPrimaries

impl UnsafeUnpin for ColorPrimaries

impl UnwindSafe for ColorPrimaries

Blanket Implementations

impl<T> Any for ColorPrimaries where T: 'static + ?Sized,

impl<T> Borrow<T> for ColorPrimaries where T: ?Sized,

impl<T> BorrowMut<T> for ColorPrimaries where T: ?Sized,

impl<T> CloneToUninit for ColorPrimaries where T: Clone,

impl<T> From<T> for ColorPrimaries

impl<T> ToOwned for ColorPrimaries where T: Clone,

impl<T, U> Into<U> for ColorPrimaries where U: From<T>,

impl<T, U> TryFrom<U> for ColorPrimaries where U: Into<T>,

impl<T, U> TryInto<U> for ColorPrimaries where U: TryFrom<T>,