[][src]Trait palette::rgb::Primaries

pub trait Primaries: Any {
    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>; }

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

Required methods

fn red<Wp: WhitePoint, T: Component + Float>() -> Yxy<Wp, T>

Primary red.

fn green<Wp: WhitePoint, T: Component + Float>() -> Yxy<Wp, T>

Primary green.

fn blue<Wp: WhitePoint, T: Component + Float>() -> Yxy<Wp, T>

Primary blue.

Loading content...

Implementors

impl Primaries for Srgb[src]

Loading content...