Colors

Trait Colors 

Source
pub trait Colors {
    // Required methods
    fn bold(&self) -> String;
    fn red(&self) -> String;
    fn green(&self) -> String;
    fn yellow(&self) -> String;
    fn blue(&self) -> String;
}

Required Methods§

Source

fn bold(&self) -> String

Source

fn red(&self) -> String

Source

fn green(&self) -> String

Source

fn yellow(&self) -> String

Source

fn blue(&self) -> String

Implementors§

Source§

impl<T> Colors for T
where T: Display,