IntoGradientHsl

Trait IntoGradientHsl 

Source
pub trait IntoGradientHsl:
    Sized
    + IntoColor<Hsl>
    + FromColor<Hsl>
    + Copy {
    // Provided method
    fn build_gradient_hsl(self, shades: u16) -> Vec<Self> { ... }
}
Expand description

Defines a colour that can generate a gradient through Hsl.

Should be auto-implemented by having a colour satisfy the trait bounds.

Provided Methods§

Source

fn build_gradient_hsl(self, shades: u16) -> Vec<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§