Trait rin::prelude::ToXyz[][src]

pub trait ToXyz {
    type WhitePoint: WhitePoint;
    pub fn to_xyz<T>(&self) -> Xyz<T, Self::WhitePoint>
    where
        T: Channel + Float + Debug
; }

Associated Types

type WhitePoint: WhitePoint[src]

Loading content...

Required methods

pub fn to_xyz<T>(&self) -> Xyz<T, Self::WhitePoint> where
    T: Channel + Float + Debug
[src]

Loading content...

Implementors

impl<T, S> ToXyz for Rgb<T, S> where
    T: Channel,
    S: MatrixColorSpace + TransferFunction
[src]

type WhitePoint = D65

impl<T, Wp> ToXyz for Lab<T, Wp> where
    T: Channel + Float + NumCast,
    Wp: WhitePoint
[src]

type WhitePoint = Wp

impl<T, Wp> ToXyz for Yxy<T, Wp> where
    T: Channel + Float,
    Wp: WhitePoint
[src]

type WhitePoint = Wp

Loading content...