Trait palette::rgb::RgbSpace

source ·
pub trait RgbSpace {
    type Primaries: Primaries;
    type WhitePoint: WhitePoint;
}
Expand description

A set of primaries and a white point.

Required Associated Types§

source

type Primaries: Primaries

The primaries of the RGB color space.

source

type WhitePoint: WhitePoint

The white point of the RGB color space.

Implementations on Foreign Types§

source§

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

§

type Primaries = P

§

type WhitePoint = W

Implementors§