Trait nannou_core::color::rgb::Primaries
source · pub trait Primaries: Any {
// Required methods
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.
Required Methods§
Object Safety§
This trait is not object safe.