Trait StyledString

Source
pub trait StyledString {
    // Required methods
    fn black(&self) -> String;
    fn red(&self) -> String;
    fn green(&self) -> String;
    fn yellow(&self) -> String;
    fn blue(&self) -> String;
    fn magenta(&self) -> String;
    fn cyan(&self) -> String;
    fn white(&self) -> String;
    fn bold(&self) -> String;
    fn underline(&self) -> String;
    fn normal(&self) -> String;
    fn bright_red(&self) -> String;
}

Required Methods§

Source

fn black(&self) -> String

Source

fn red(&self) -> String

Source

fn green(&self) -> String

Source

fn yellow(&self) -> String

Source

fn blue(&self) -> String

Source

fn magenta(&self) -> String

Source

fn cyan(&self) -> String

Source

fn white(&self) -> String

Source

fn bold(&self) -> String

Source

fn underline(&self) -> String

Source

fn normal(&self) -> String

Source

fn bright_red(&self) -> String

Implementations on Foreign Types§

Source§

impl StyledString for str

Source§

fn black(&self) -> String

Source§

fn red(&self) -> String

Source§

fn green(&self) -> String

Source§

fn yellow(&self) -> String

Source§

fn blue(&self) -> String

Source§

fn magenta(&self) -> String

Source§

fn cyan(&self) -> String

Source§

fn white(&self) -> String

Source§

fn bold(&self) -> String

Source§

fn underline(&self) -> String

Source§

fn normal(&self) -> String

Source§

fn bright_red(&self) -> String

Implementors§