color

Trait ToXyz

Source
pub trait ToXyz {
    type WhitePoint: WhitePoint;

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

Required Associated Types§

Required Methods§

Source

fn to_xyz<T: Channel + Float + Debug>(&self) -> Xyz<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§