Color

Trait Color 

Source
pub trait Color<T: Debug> {
    type Transform;

    // Required methods
    fn color(&self, txt: T, color: Colors) -> Self::Transform;
    fn bold_color(&self, txt: T, bold_color: Colors) -> Self::Transform;
    fn underline_color(
        &self,
        txt: T,
        underline_color: Colors,
    ) -> Self::Transform;
}

Required Associated Types§

Required Methods§

Source

fn color(&self, txt: T, color: Colors) -> Self::Transform

Source

fn bold_color(&self, txt: T, bold_color: Colors) -> Self::Transform

Source

fn underline_color(&self, txt: T, underline_color: Colors) -> Self::Transform

Implementors§