Trait color::color_space::MatrixColorSpace[][src]

pub trait MatrixColorSpace {
    type WhitePoint: WhitePoint;
    fn red<T: Channel + Float>() -> Yxy<T, D50>;
fn green<T: Channel + Float>() -> Yxy<T, D50>;
fn blue<T: Channel + Float>() -> Yxy<T, D50>;
fn to_xyz_matrix<T: Channel + Float>() -> Mat3<T>;
fn to_rgb_matrix<T: Channel + Float>() -> Mat3<T>; fn magenta<T: Channel + Float>() -> Yxy<T, D50> { ... }
fn yellow<T: Channel + Float>() -> Yxy<T, D50> { ... }
fn cyan<T: Channel + Float>() -> Yxy<T, D50> { ... } }

Associated Types

type WhitePoint: WhitePoint[src]

Loading content...

Required methods

fn red<T: Channel + Float>() -> Yxy<T, D50>[src]

fn green<T: Channel + Float>() -> Yxy<T, D50>[src]

fn blue<T: Channel + Float>() -> Yxy<T, D50>[src]

fn to_xyz_matrix<T: Channel + Float>() -> Mat3<T>[src]

fn to_rgb_matrix<T: Channel + Float>() -> Mat3<T>[src]

Loading content...

Provided methods

fn magenta<T: Channel + Float>() -> Yxy<T, D50>[src]

fn yellow<T: Channel + Float>() -> Yxy<T, D50>[src]

fn cyan<T: Channel + Float>() -> Yxy<T, D50>[src]

Loading content...

Implementors

impl MatrixColorSpace for Srgb[src]

type WhitePoint = D65

Loading content...