[][src]Trait amethyst_rendy::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, T> RgbStandard for (S, T) where
    S: RgbSpace,
    T: TransferFn
[src]

type Space = S

type TransferFn = T

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

type Space = (P, W)

type TransferFn = T

Loading content...

Implementors

impl RgbStandard for Srgb[src]

type Space = Srgb

type TransferFn = Srgb

impl<S> RgbStandard for Linear<S> where
    S: RgbSpace
[src]

type Space = S

type TransferFn = LinearFn

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

type Space = S

type TransferFn = GammaFn<N>

Loading content...