pub trait RgbStandard {
    type Space: RgbSpace;
    type TransferFn: TransferFn;
}
Expand description

An RGB space and a transfer function.

Required Associated Types§

source

type Space: RgbSpace

The RGB color space.

source

type TransferFn: TransferFn

The transfer function for the color components.

Implementations on Foreign Types§

source§

impl<P, W, T> RgbStandard for (P, W, T)
where P: Primaries, W: WhitePoint, T: TransferFn,

§

type Space = (P, W)

§

type TransferFn = T

source§

impl<S, T> RgbStandard for (S, T)
where S: RgbSpace, T: TransferFn,

§

type Space = S

§

type TransferFn = T

Implementors§

source§

impl RgbStandard for Srgb

source§

impl<S> RgbStandard for Linear<S>
where S: RgbSpace,

source§

impl<S, N> RgbStandard for Gamma<S, N>
where S: RgbSpace, N: Number,

§

type Space = S

§

type TransferFn = GammaFn<N>