cosmic::cosmic_theme::palette::white_point

Trait WhitePoint

source
pub trait WhitePoint<T>: 'static {
    // Required method
    fn get_xyz() -> Xyz<Any, T>;
}
Expand description

WhitePoint defines the Xyz color co-ordinates for a given white point.

A white point (often referred to as reference white or target white in technical documents) is a set of tristimulus values or chromaticity coordinates that serve to define the color “white” in image capture, encoding, or reproduction.

Custom white points can be easily defined on an empty struct with the tristimulus values and can be used in place of the ones defined in this library.

Required Methods§

source

fn get_xyz() -> Xyz<Any, T>

Get the Xyz chromaticity co-ordinates for the white point.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> WhitePoint<T> for A
where T: Real,

source§

impl<T> WhitePoint<T> for B
where T: Real,

source§

impl<T> WhitePoint<T> for C
where T: Real,

source§

impl<T> WhitePoint<T> for D50
where T: Real,

source§

impl<T> WhitePoint<T> for D50Degree10
where T: Real,

source§

impl<T> WhitePoint<T> for D55
where T: Real,

source§

impl<T> WhitePoint<T> for D55Degree10
where T: Real,

source§

impl<T> WhitePoint<T> for D65
where T: Real,

source§

impl<T> WhitePoint<T> for D65Degree10
where T: Real,

source§

impl<T> WhitePoint<T> for D75
where T: Real,

source§

impl<T> WhitePoint<T> for D75Degree10
where T: Real,

source§

impl<T> WhitePoint<T> for E
where T: Real,

source§

impl<T> WhitePoint<T> for F2
where T: Real,

source§

impl<T> WhitePoint<T> for F7
where T: Real,

source§

impl<T> WhitePoint<T> for F11
where T: Real,