Trait color::ToLab

source ·
pub trait ToLab {
    type WhitePoint: WhitePoint;

    // Required method
    fn to_lab<T: Channel>(&self) -> Lab<T, Self::WhitePoint>;
}

Required Associated Types§

Required Methods§

source

fn to_lab<T: Channel>(&self) -> Lab<T, Self::WhitePoint>

Implementors§

source§

impl<T: Channel + Float + NumCast, Wp: WhitePoint> ToLab for Xyz<T, Wp>

§

type WhitePoint = Wp