Trait TextStyling
Source pub trait TextStyling: Display {
Show 36 methods
// Provided methods
fn black(self) -> Style<Self>
where Self: Sized { ... }
fn red(self) -> Style<Self>
where Self: Sized { ... }
fn green(self) -> Style<Self>
where Self: Sized { ... }
fn yellow(self) -> Style<Self>
where Self: Sized { ... }
fn blue(self) -> Style<Self>
where Self: Sized { ... }
fn magenta(self) -> Style<Self>
where Self: Sized { ... }
fn cyan(self) -> Style<Self>
where Self: Sized { ... }
fn white(self) -> Style<Self>
where Self: Sized { ... }
fn bright_black(self) -> Style<Self>
where Self: Sized { ... }
fn bright_red(self) -> Style<Self>
where Self: Sized { ... }
fn bright_green(self) -> Style<Self>
where Self: Sized { ... }
fn bright_yellow(self) -> Style<Self>
where Self: Sized { ... }
fn bright_blue(self) -> Style<Self>
where Self: Sized { ... }
fn bright_magenta(self) -> Style<Self>
where Self: Sized { ... }
fn bright_cyan(self) -> Style<Self>
where Self: Sized { ... }
fn bright_white(self) -> Style<Self>
where Self: Sized { ... }
fn bg_black(self) -> Style<Self>
where Self: Sized { ... }
fn bg_red(self) -> Style<Self>
where Self: Sized { ... }
fn bg_green(self) -> Style<Self>
where Self: Sized { ... }
fn bg_yellow(self) -> Style<Self>
where Self: Sized { ... }
fn bg_blue(self) -> Style<Self>
where Self: Sized { ... }
fn bg_magenta(self) -> Style<Self>
where Self: Sized { ... }
fn bg_cyan(self) -> Style<Self>
where Self: Sized { ... }
fn bg_white(self) -> Style<Self>
where Self: Sized { ... }
fn bg_bright_black(self) -> Style<Self>
where Self: Sized { ... }
fn bg_bright_red(self) -> Style<Self>
where Self: Sized { ... }
fn bg_bright_green(self) -> Style<Self>
where Self: Sized { ... }
fn bg_bright_yellow(self) -> Style<Self>
where Self: Sized { ... }
fn bg_bright_blue(self) -> Style<Self>
where Self: Sized { ... }
fn bg_bright_magenta(self) -> Style<Self>
where Self: Sized { ... }
fn bg_bright_cyan(self) -> Style<Self>
where Self: Sized { ... }
fn bg_bright_white(self) -> Style<Self>
where Self: Sized { ... }
fn bold(self) -> Style<Self>
where Self: Sized { ... }
fn italic(self) -> Style<Self>
where Self: Sized { ... }
fn underline(self) -> Style<Self>
where Self: Sized { ... }
fn strikethrough(self) -> Style<Self>
where Self: Sized { ... }
}