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]
Required methods
pub fn red<T>() -> Yxy<T, D50> where
T: Channel + Float,
[src]
T: Channel + Float,
pub fn green<T>() -> Yxy<T, D50> where
T: Channel + Float,
[src]
T: Channel + Float,
pub fn blue<T>() -> Yxy<T, D50> where
T: Channel + Float,
[src]
T: Channel + Float,
pub fn to_xyz_matrix<T>() -> Mat3<T> where
T: Channel + Float,
[src]
T: Channel + Float,
pub fn to_rgb_matrix<T>() -> Mat3<T> where
T: Channel + Float,
[src]
T: Channel + Float,
Provided methods
pub fn magenta<T>() -> Yxy<T, D50> where
T: Channel + Float,
[src]
T: Channel + Float,
pub fn yellow<T>() -> Yxy<T, D50> where
T: Channel + Float,
[src]
T: Channel + Float,
pub fn cyan<T>() -> Yxy<T, D50> where
T: Channel + Float,
[src]
T: Channel + Float,
Implementors
impl MatrixColorSpace for Srgb
[src]
impl MatrixColorSpace for Srgb
[src]type WhitePoint = D65
pub fn red<T>() -> Yxy<T, D50> where
T: Channel + Float,
[src]
T: Channel + Float,
pub fn green<T>() -> Yxy<T, D50> where
T: Channel + Float,
[src]
T: Channel + Float,
pub fn blue<T>() -> Yxy<T, D50> where
T: Channel + Float,
[src]
T: Channel + Float,
pub fn to_xyz_matrix<T>() -> Mat3<T> where
T: Channel + Float,
[src]
T: Channel + Float,
pub fn to_rgb_matrix<T>() -> Mat3<T> where
T: Channel + Float,
[src]
T: Channel + Float,