Struct SingleColorPrimary

pub struct SingleColorPrimary { pub x: f64, pub y: f64, pub z: f64 }

Represents a single channel color primary.

This can be viewed as a 3D coordinate of the color primary for a given colorspace

Fields

x: f64
y: f64
z: f64

Trait Implementations

impl Clone for SingleColorPrimary

fn clone(&self) -> Self

impl Copy for SingleColorPrimary

impl Debug for SingleColorPrimary

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

impl Default for SingleColorPrimary

fn default() -> Self

Auto Trait Implementations

impl Freeze for SingleColorPrimary

impl RefUnwindSafe for SingleColorPrimary

impl Send for SingleColorPrimary

impl Sync for SingleColorPrimary

impl Unpin for SingleColorPrimary

impl UnsafeUnpin for SingleColorPrimary

impl UnwindSafe for SingleColorPrimary

Blanket Implementations

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

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

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

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

impl<T> From<T> for SingleColorPrimary

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

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

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

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