Trait palette::rgb::RgbSpace[][src]

pub trait RgbSpace: 'static {
    type Primaries: Primaries;
    type WhitePoint: WhitePoint;
}

A set of primaries and a white point.

Associated Types

type Primaries: Primaries[src]

The primaries of the RGB color space.

type WhitePoint: WhitePoint[src]

The white point of the RGB color space.

Loading content...

Implementations on Foreign Types

impl<P: Primaries, W: WhitePoint> RgbSpace for (P, W)[src]

type Primaries = P

type WhitePoint = W

Loading content...

Implementors

impl RgbSpace for Srgb[src]

Loading content...