pub trait LumaStandard {
    type WhitePoint: WhitePoint;
    type TransferFn: TransferFn;
}
Expand description

A white point and a transfer function.

Required Associated Types§

source

type WhitePoint: WhitePoint

The white point of the color space.

source

type TransferFn: TransferFn

The transfer function for the luminance component.

Implementations on Foreign Types§

source§

impl<Wp, T> LumaStandard for (Wp, T)
where Wp: WhitePoint, T: TransferFn,

§

type WhitePoint = Wp

§

type TransferFn = T

Implementors§

source§

impl LumaStandard for Srgb

source§

impl<Wp> LumaStandard for Linear<Wp>
where Wp: WhitePoint,

source§

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

§

type WhitePoint = Wp

§

type TransferFn = GammaFn<N>