antex

Trait StyledText

source
pub trait StyledText {
Show 37 methods // Required methods fn s<T: Display>(self, s: T) -> Self; fn nl(self) -> Self; fn space(self) -> Self; fn spaces(self, n: usize) -> Self; fn dot(self) -> Self; fn colon(self) -> Self; fn slash(self) -> Self; fn dots(self, n: usize) -> Self; fn plural<T: Display>(self, s: T, n: usize) -> Self; fn black(self) -> Self; fn red(self) -> Self; fn green(self) -> Self; fn yellow(self) -> Self; fn blue(self) -> Self; fn magenta(self) -> Self; fn cyan(self) -> Self; fn white(self) -> Self; fn bg_black(self) -> Self; fn bg_red(self) -> Self; fn bg_green(self) -> Self; fn bg_yellow(self) -> Self; fn bg_blue(self) -> Self; fn bg_magenta(self) -> Self; fn bg_cyan(self) -> Self; fn bg_white(self) -> Self; fn color(self, c: Color) -> Self; fn bg_color(self, c: Color) -> Self; fn color_8(self, c: u8) -> Self; fn bg_color_8(self, c: u8) -> Self; fn color_256(self, c: u8) -> Self; fn bg_color_256(self, c: u8) -> Self; fn color_rgb(self, c: RgbColor) -> Self; fn bg_color_rgb(self, c: RgbColor) -> Self; fn bold(self) -> Self; fn italic(self) -> Self; fn underline(self) -> Self; fn clear(self) -> Self;
}

Required Methods§

source

fn s<T: Display>(self, s: T) -> Self

source

fn nl(self) -> Self

source

fn space(self) -> Self

source

fn spaces(self, n: usize) -> Self

source

fn dot(self) -> Self

source

fn colon(self) -> Self

source

fn slash(self) -> Self

source

fn dots(self, n: usize) -> Self

source

fn plural<T: Display>(self, s: T, n: usize) -> Self

source

fn black(self) -> Self

source

fn red(self) -> Self

source

fn green(self) -> Self

source

fn yellow(self) -> Self

source

fn blue(self) -> Self

source

fn magenta(self) -> Self

source

fn cyan(self) -> Self

source

fn white(self) -> Self

source

fn bg_black(self) -> Self

source

fn bg_red(self) -> Self

source

fn bg_green(self) -> Self

source

fn bg_yellow(self) -> Self

source

fn bg_blue(self) -> Self

source

fn bg_magenta(self) -> Self

source

fn bg_cyan(self) -> Self

source

fn bg_white(self) -> Self

source

fn color(self, c: Color) -> Self

source

fn bg_color(self, c: Color) -> Self

source

fn color_8(self, c: u8) -> Self

source

fn bg_color_8(self, c: u8) -> Self

source

fn color_256(self, c: u8) -> Self

source

fn bg_color_256(self, c: u8) -> Self

source

fn color_rgb(self, c: RgbColor) -> Self

source

fn bg_color_rgb(self, c: RgbColor) -> Self

source

fn bold(self) -> Self

source

fn italic(self) -> Self

source

fn underline(self) -> Self

source

fn clear(self) -> Self

Object Safety§

This trait is not object safe.

Implementors§