Trait colorful::core::ColorInterface
source · pub trait ColorInterface: Clone {
fn to_color_str(&self) -> String;
fn to_hsl(&self) -> HSL;
}
Expand description
ColorInterface
is for basic trait for Colorful
, RGB
, HSL
and Color
implement this trait.