Trait palette::rgb::Primaries

source ·
pub trait Primaries<T> {
    // Required methods
    fn red() -> Yxy<Any, T>;
    fn green() -> Yxy<Any, T>;
    fn blue() -> Yxy<Any, T>;
}
Expand description

Represents the red, green and blue primaries of an RGB space.

Required Methods§

source

fn red() -> Yxy<Any, T>

Primary red.

source

fn green() -> Yxy<Any, T>

Primary green.

source

fn blue() -> Yxy<Any, T>

Primary blue.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Real> Primaries<T> for Srgb