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