Trait cosmic::cosmic_theme::palette::cam16::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>,