Trait freya_testing::prelude::DisplayColor

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

Required Methods§

source

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

source

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

Implementations on Foreign Types§

source§

impl DisplayColor for Color

source§

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

source§

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

Implementors§