color

Trait FloatColor

Source
pub trait FloatColor<T>: Color<T> {
    // Required method
    fn saturate(self) -> Self;
}

Required Methods§

Source

fn saturate(self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: FloatChannel> FloatColor<T> for Hsv<T>

Source§

impl<T: FloatChannel, S> FloatColor<T> for Luma<T, S>

Source§

impl<T: FloatChannel, S> FloatColor<T> for Rgb<T, S>