palette::cam16

Trait WhitePointParameter

Source
pub trait WhitePointParameter<T> {
    type StaticWp;

    // Required method
    fn into_xyz(self) -> Xyz<Any, T>;
}
Expand description

A trait for types that can be used as white point parameters in Parameters.

Required Associated Types§

Source

type StaticWp

The static representation of this white point, or white_point::Any if it’s dynamic.

Required Methods§

Source

fn into_xyz(self) -> Xyz<Any, T>

Returns the XYZ value for this white point.

Implementors§

Source§

impl<T> WhitePointParameter<T> for Xyz<Any, T>

Source§

impl<T, Wp> WhitePointParameter<T> for StaticWp<Wp>
where Wp: WhitePoint<T>,