pub struct PrettyDisplay<'a, T: Facet> { /* private fields */ }Expand description
Display wrapper for any type that implements Facet
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for PrettyDisplay<'a, T>
impl<'a, T> RefUnwindSafe for PrettyDisplay<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PrettyDisplay<'a, T>where
T: Sync,
impl<'a, T> Sync for PrettyDisplay<'a, T>where
T: Sync,
impl<'a, T> Unpin for PrettyDisplay<'a, T>
impl<'a, T> UnwindSafe for PrettyDisplay<'a, T>where
T: RefUnwindSafe,
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
Source§impl<T> Stylize for Twhere
T: Display,
impl<T> Stylize for Twhere
T: Display,
Source§fn style(self, style: Style) -> StyledDisplay<T>
fn style(self, style: Style) -> StyledDisplay<T>
Apply a style to a value.
Source§fn red(self) -> StyledDisplay<T>
fn red(self) -> StyledDisplay<T>
Apply red color style to a value.
Source§fn green(self) -> StyledDisplay<T>
fn green(self) -> StyledDisplay<T>
Apply green color style to a value.
Source§fn blue(self) -> StyledDisplay<T>
fn blue(self) -> StyledDisplay<T>
Apply blue color style to a value.
Source§fn yellow(self) -> StyledDisplay<T>
fn yellow(self) -> StyledDisplay<T>
Apply yellow color style to a value.
Source§fn magenta(self) -> StyledDisplay<T>
fn magenta(self) -> StyledDisplay<T>
Apply magenta color style to a value.
Source§fn cyan(self) -> StyledDisplay<T>
fn cyan(self) -> StyledDisplay<T>
Apply cyan color style to a value.
Source§fn white(self) -> StyledDisplay<T>
fn white(self) -> StyledDisplay<T>
Apply white color style to a value.
Source§fn black(self) -> StyledDisplay<T>
fn black(self) -> StyledDisplay<T>
Apply black color style to a value.
Source§fn bright_red(self) -> StyledDisplay<T>
fn bright_red(self) -> StyledDisplay<T>
Apply bright red color style to a value.
Source§fn bright_green(self) -> StyledDisplay<T>
fn bright_green(self) -> StyledDisplay<T>
Apply bright green color style to a value.
Source§fn bright_blue(self) -> StyledDisplay<T>
fn bright_blue(self) -> StyledDisplay<T>
Apply bright blue color style to a value.
Source§fn bright_yellow(self) -> StyledDisplay<T>
fn bright_yellow(self) -> StyledDisplay<T>
Apply bright yellow color style to a value.
Source§fn bright_magenta(self) -> StyledDisplay<T>
fn bright_magenta(self) -> StyledDisplay<T>
Apply bright magenta color style to a value.
Source§fn bright_cyan(self) -> StyledDisplay<T>
fn bright_cyan(self) -> StyledDisplay<T>
Apply bright cyan color style to a value.
Source§fn bright_white(self) -> StyledDisplay<T>
fn bright_white(self) -> StyledDisplay<T>
Apply bright white color style to a value.
Source§fn bold(self) -> StyledDisplay<T>
fn bold(self) -> StyledDisplay<T>
Apply bold style to a value.
Source§fn underline(self) -> StyledDisplay<T>
fn underline(self) -> StyledDisplay<T>
Apply underline style to a value.
Source§fn dimmed(self) -> StyledDisplay<T>
fn dimmed(self) -> StyledDisplay<T>
Apply dimmed style to a value.