pub struct StderrColors {
pub reset: &'static str,
pub bold: &'static str,
pub bold_white: &'static str,
pub bold_green: &'static str,
pub green: &'static str,
pub red: &'static str,
pub cyan: &'static str,
pub yellow: &'static str,
}Expand description
ANSI color codes for terminal output to stderr.
This struct provides a set of ANSI escape codes that are automatically
disabled when stderr is not a terminal or when the NO_COLOR environment
variable is set.
Fields§
§reset: &'static str§bold: &'static str§bold_white: &'static str§bold_green: &'static str§green: &'static str§red: &'static str§cyan: &'static str§yellow: &'static strImplementations§
Source§impl StderrColors
impl StderrColors
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StderrColors
impl RefUnwindSafe for StderrColors
impl Send for StderrColors
impl Sync for StderrColors
impl Unpin for StderrColors
impl UnwindSafe for StderrColors
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