Trait nannou::color::rgb::Primaries[][src]

pub trait Primaries: Any {
    fn red<Wp, T>() -> Yxy<Wp, T>
    where
        T: Component + Float,
        Wp: WhitePoint
;
fn green<Wp, T>() -> Yxy<Wp, T>
    where
        T: Component + Float,
        Wp: WhitePoint
;
fn blue<Wp, T>() -> Yxy<Wp, T>
    where
        T: Component + Float,
        Wp: WhitePoint
; }
Expand description

Represents the red, green and blue primaries of an RGB space.

Required methods

Primary red.

Primary green.

Primary blue.

Implementors