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.

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...