logo
pub trait HasSaturation: Clone + Copy {
    fn get_saturation(self) -> f32;
    fn set_saturation(&mut self, saturation: f32) -> Self;
}
Expand description

Defines the color saturation functionality

Required Methods

Retrieve saturation

Set the saturation

Implementors