Trait palette::rgb::RgbStandard [−][src]
pub trait RgbStandard: 'static { type Space: RgbSpace; type TransferFn: TransferFn; }
An RGB space and a transfer function.
Associated Types
type Space: RgbSpace
[src]
The RGB color space.
type TransferFn: TransferFn
[src]
The transfer function for the color components.
Implementations on Foreign Types
impl<S: RgbSpace, T: TransferFn> RgbStandard for (S, T)
[src]
impl<S: RgbSpace, T: TransferFn> RgbStandard for (S, T)
[src]type Space = S
type TransferFn = T
impl<P: Primaries, W: WhitePoint, T: TransferFn> RgbStandard for (P, W, T)
[src]
impl<P: Primaries, W: WhitePoint, T: TransferFn> RgbStandard for (P, W, T)
[src]type Space = (P, W)
type TransferFn = T
Implementors
impl RgbStandard for Srgb
[src]
impl RgbStandard for Srgb
[src]type Space = Srgb
type TransferFn = Srgb
impl<S: RgbSpace> RgbStandard for Linear<S>
[src]
impl<S: RgbSpace> RgbStandard for Linear<S>
[src]type Space = S
type TransferFn = LinearFn
impl<S: RgbSpace, N: Number> RgbStandard for Gamma<S, N>
[src]
impl<S: RgbSpace, N: Number> RgbStandard for Gamma<S, N>
[src]