Trait wallswitch::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,