[][src]Trait owo_colors::OwoColorize

pub trait OwoColorize: Display + Sized {
    fn fg<'a, C: Color>(&'a self) -> FgColorDisplay<'a, C, Self> { ... }
fn bg<'a, C: Color>(&'a self) -> BgColorDisplay<'a, C, Self> { ... }
fn bold<'a>(&'a self) -> BoldDisplay<'a, Self> { ... }
fn black<'a>(&'a self) -> FgColorDisplay<'a, Black, Self> { ... }
fn on_black<'a>(&'a self) -> BgColorDisplay<'a, Black, Self> { ... }
fn red<'a>(&'a self) -> FgColorDisplay<'a, Red, Self> { ... }
fn on_red<'a>(&'a self) -> BgColorDisplay<'a, Red, Self> { ... }
fn green<'a>(&'a self) -> FgColorDisplay<'a, Green, Self> { ... }
fn on_green<'a>(&'a self) -> BgColorDisplay<'a, Green, Self> { ... }
fn yellow<'a>(&'a self) -> FgColorDisplay<'a, Yellow, Self> { ... }
fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self> { ... }
fn blue<'a>(&'a self) -> FgColorDisplay<'a, Blue, Self> { ... }
fn on_blue<'a>(&'a self) -> BgColorDisplay<'a, Blue, Self> { ... }
fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self> { ... }
fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self> { ... }
fn cyan<'a>(&'a self) -> FgColorDisplay<'a, Cyan, Self> { ... }
fn on_cyan<'a>(&'a self) -> BgColorDisplay<'a, Cyan, Self> { ... }
fn white<'a>(&'a self) -> FgColorDisplay<'a, White, Self> { ... }
fn on_white<'a>(&'a self) -> BgColorDisplay<'a, White, Self> { ... } }

Provided methods

fn fg<'a, C: Color>(&'a self) -> FgColorDisplay<'a, C, Self>

fn bg<'a, C: Color>(&'a self) -> BgColorDisplay<'a, C, Self>

fn bold<'a>(&'a self) -> BoldDisplay<'a, Self>

fn black<'a>(&'a self) -> FgColorDisplay<'a, Black, Self>

fn on_black<'a>(&'a self) -> BgColorDisplay<'a, Black, Self>

fn red<'a>(&'a self) -> FgColorDisplay<'a, Red, Self>

fn on_red<'a>(&'a self) -> BgColorDisplay<'a, Red, Self>

fn green<'a>(&'a self) -> FgColorDisplay<'a, Green, Self>

fn on_green<'a>(&'a self) -> BgColorDisplay<'a, Green, Self>

fn yellow<'a>(&'a self) -> FgColorDisplay<'a, Yellow, Self>

fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>

fn blue<'a>(&'a self) -> FgColorDisplay<'a, Blue, Self>

fn on_blue<'a>(&'a self) -> BgColorDisplay<'a, Blue, Self>

fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>

fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>

fn cyan<'a>(&'a self) -> FgColorDisplay<'a, Cyan, Self>

fn on_cyan<'a>(&'a self) -> BgColorDisplay<'a, Cyan, Self>

fn white<'a>(&'a self) -> FgColorDisplay<'a, White, Self>

fn on_white<'a>(&'a self) -> BgColorDisplay<'a, White, Self>

Loading content...

Implementors

impl<D: Display> OwoColorize for D[src]

Loading content...