pub trait Primaries: Any {
// Required methods
fn red<Wp: WhitePoint, T: Component + Float>() -> Yxy<Wp, T>;
fn green<Wp: WhitePoint, T: Component + Float>() -> Yxy<Wp, T>;
fn blue<Wp: WhitePoint, T: Component + Float>() -> Yxy<Wp, T>;
}
Expand description
Represents the red, green and blue primaries of an RGB space.
Required Methods§
Object Safety§
This trait is not object safe.