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

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

A white point and a transfer function.

Associated Types

type WhitePoint: WhitePoint

The white point of the color space.

type TransferFn: TransferFn

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...