Trait nannou_core::color::rgb::Primaries [−][src]
pub trait Primaries: Any {
fn red<Wp, T>() -> Yxy<Wp, T>
where
Wp: WhitePoint,
T: Component + Float;
fn green<Wp, T>() -> Yxy<Wp, T>
where
Wp: WhitePoint,
T: Component + Float;
fn blue<Wp, T>() -> Yxy<Wp, T>
where
Wp: WhitePoint,
T: Component + Float;
}
Expand description
Represents the red, green and blue primaries of an RGB space.