pub struct Colors {
pub green: &'static str,
pub cyan: &'static str,
pub yellow: &'static str,
pub magenta: &'static str,
pub white: &'static str,
pub gray: &'static str,
pub red: &'static str,
pub reset: &'static str,
}Expand description
ANSI color codes for terminal output
Fields§
§green: &'static str§cyan: &'static str§yellow: &'static str§magenta: &'static str§white: &'static str§gray: &'static str§red: &'static str§reset: &'static strImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Colors
impl RefUnwindSafe for Colors
impl Send for Colors
impl Sync for Colors
impl Unpin for Colors
impl UnwindSafe for Colors
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