Trait palette::luma::LumaStandard

source ·
pub trait LumaStandard {
    type WhitePoint;
    type TransferFn;
}
Expand description

A white point and a transfer function.

Required Associated Types§

source

type WhitePoint

The white point of the color space.

source

type TransferFn

The transfer function for the luminance component.

Implementations on Foreign Types§

source§

impl<Wp, Tf> LumaStandard for (Wp, Tf)

§

type WhitePoint = Wp

§

type TransferFn = Tf

Implementors§

source§

impl LumaStandard for Srgb

source§

impl<Wp> LumaStandard for Linear<Wp>

source§

impl<Wp, N> LumaStandard for Gamma<Wp, N>
where N: Number,

§

type WhitePoint = Wp

§

type TransferFn = GammaFn<N>