Trait palette::rgb::RgbSpace [−][src]
pub trait RgbSpace { type Primaries: Primaries; type WhitePoint: WhitePoint; }
A set of primaries and a white point.
Associated Types
type Primaries: Primaries
The primaries of the RGB color space.
type WhitePoint: WhitePoint
The white point of the RGB color space.
Implementations on Foreign Types
impl<P: Primaries, W: WhitePoint> RgbSpace for (P, W)
[src]
impl<P: Primaries, W: WhitePoint> RgbSpace for (P, W)
type Primaries = P
type WhitePoint = W
Implementors
impl RgbSpace for Srgb type Primaries = Srgb; type WhitePoint = D65;