Trait palette::rgb::RgbStandard

source ·
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: Primaries, W: WhitePoint, T: TransferFn> RgbStandard for (P, W, T)

§

type Space = (P, W)

§

type TransferFn = T

source§

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

§

type Space = S

§

type TransferFn = T

Implementors§