color

Trait ToYxy

Source
pub trait ToYxy {
    type WhitePoint: WhitePoint;

    // Required method
    fn to_yxy<T: Channel + Float>(&self) -> Yxy<T, Self::WhitePoint>;
}

Required Associated Types§

Required Methods§

Source

fn to_yxy<T: Channel + Float>(&self) -> Yxy<T, Self::WhitePoint>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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