[][src]Trait colorful::core::ColorInterface

pub trait ColorInterface: Clone {
    fn to_color_str(&self) -> String;
fn to_hsl(&self) -> HSL; }

ColorInterface is for basic trait for Colorful, RGB, HSL and Color implement this trait.

Required methods

fn to_color_str(&self) -> String

fn to_hsl(&self) -> HSL

Loading content...

Implementors

impl ColorInterface for Color[src]

impl ColorInterface for HSL[src]

impl ColorInterface for RGB[src]

Loading content...