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,