Struct console::StyledObject [−][src]
pub struct StyledObject<D> { /* fields omitted */ }
Expand description
A formatting wrapper that can be styled for a terminal.
Implementations
Forces styling on or off.
This overrides the detection from clicolors-control
.
Specifies that style is applying to something being written on stderr
Specifies that style is applying to something being written on stdout
This is the default
Sets a foreground color.
Sets a background color.
Adds a attr.
Trait Implementations
Auto Trait Implementations
impl<D> RefUnwindSafe for StyledObject<D> where
D: RefUnwindSafe,
impl<D> Send for StyledObject<D> where
D: Send,
impl<D> Sync for StyledObject<D> where
D: Sync,
impl<D> Unpin for StyledObject<D> where
D: Unpin,
impl<D> UnwindSafe for StyledObject<D> where
D: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more