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

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

Associated Types

type WhitePoint: WhitePoint[src]

Loading content...

Required methods

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

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

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

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

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

Loading content...

Provided methods

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

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

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

Loading content...

Implementors

impl MatrixColorSpace for Srgb[src]

type WhitePoint = D65

Loading content...