Trait freya_node_state::DisplayColor

source ·
pub trait DisplayColor {
    // Required methods
    fn fmt_rgb(&self, f: &mut Formatter<'_>) -> Result;
    fn fmt_hsl(&self, f: &mut Formatter<'_>) -> Result;
}

Required Methods§

source

fn fmt_rgb(&self, f: &mut Formatter<'_>) -> Result

source

fn fmt_hsl(&self, f: &mut Formatter<'_>) -> Result

Implementations on Foreign Types§

source§

impl DisplayColor for Color

source§

fn fmt_rgb(&self, f: &mut Formatter<'_>) -> Result

source§

fn fmt_hsl(&self, f: &mut Formatter<'_>) -> Result

Implementors§