pub struct Text { /* private fields */ }Implementations§
Trait Implementations§
Source§impl StyledText for Text
impl StyledText for Text
fn s<T: Display>(self, s: T) -> Self
fn nl(self) -> Self
fn space(self) -> Self
fn spaces(self, count: usize) -> Self
fn dot(self) -> Self
fn colon(self) -> Self
fn slash(self) -> Self
fn backslash(self) -> Self
fn perc(self) -> Self
fn repeat<T: Display>(self, s: T, 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
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more