Trait palette::luma::LumaStandard [−][src]
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.
Implementations on Foreign Types
impl<Wp: WhitePoint, T: TransferFn> LumaStandard for (Wp, T)
[src]
impl<Wp: WhitePoint, T: TransferFn> LumaStandard for (Wp, T)
type WhitePoint = Wp
type TransferFn = T
Implementors
impl LumaStandard for Srgb type WhitePoint = D65; type TransferFn = Srgb;
impl<Wp: WhitePoint, N: Number> LumaStandard for Gamma<Wp, N> type WhitePoint = Wp; type TransferFn = GammaFn<N>;
impl<Wp: WhitePoint> LumaStandard for Linear<Wp> type WhitePoint = Wp; type TransferFn = LinearFn;