Trait nannou::prelude::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, W> RgbSpace for (P, W)
where P: Primaries, W: WhitePoint,

§

type Primaries = P

§

type WhitePoint = W

Implementors§