palette::stimulus

Trait StimulusColor

source
pub trait StimulusColor { }
Expand description

A marker trait for colors where all components are stimuli.

Typical stimulus colors are RGB and XYZ.

Implementors§

source§

impl<S, T> StimulusColor for Luma<S, T>
where T: Stimulus,

source§

impl<S, T> StimulusColor for Rgb<S, T>
where T: Stimulus,

source§

impl<Wp, T> StimulusColor for Xyz<Wp, T>
where T: Stimulus,