[][src]Trait palette::rgb::RgbStandard

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

An RGB space and a transfer function.

Associated Types

type Space: RgbSpace

The RGB color space.

type TransferFn: TransferFn

The transfer function for the color components.

Loading content...

Implementations on Foreign Types

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]

type Space = (P, W)

type TransferFn = T

Loading content...

Implementors

impl RgbStandard for Srgb[src]

type Space = Srgb

type TransferFn = Srgb

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]

type Space = S

type TransferFn = GammaFn<N>

Loading content...