Trait palette::luma::LumaStandard[][src]

pub trait LumaStandard: 'static {
    type WhitePoint: WhitePoint;
    type TransferFn: TransferFn;
}

A white point and a transfer function.

Associated Types

type WhitePoint: WhitePoint[src]

The white point of the color space.

type TransferFn: TransferFn[src]

The transfer function for the luminance component.

Loading content...

Implementations on Foreign Types

impl<Wp: WhitePoint, T: TransferFn> LumaStandard for (Wp, T)[src]

type WhitePoint = Wp

type TransferFn = T

Loading content...

Implementors

impl LumaStandard for Srgb[src]

impl<Wp: WhitePoint> LumaStandard for Linear<Wp>[src]

impl<Wp: WhitePoint, N: Number> LumaStandard for Gamma<Wp, N>[src]

type WhitePoint = Wp

type TransferFn = GammaFn<N>

Loading content...