pub struct Colors;Implementations§
Source§impl Colors
impl Colors
pub const RESET: &'static str = "\x1b[0m"
pub const BOLD: &'static str = "\x1b[1m"
pub const DIM: &'static str = "\x1b[2m"
pub const RED: &'static str = "\x1b[31m"
pub const GREEN: &'static str = "\x1b[32m"
pub const YELLOW: &'static str = "\x1b[33m"
pub const BLUE: &'static str = "\x1b[34m"
pub const MAGENTA: &'static str = "\x1b[35m"
pub const CYAN: &'static str = "\x1b[36m"
pub const WHITE: &'static str = "\x1b[37m"
pub const BG_RED: &'static str = "\x1b[41m"
pub const BG_GREEN: &'static str = "\x1b[42m"
pub const BG_YELLOW: &'static str = "\x1b[43m"
pub const BG_BLUE: &'static str = "\x1b[44m"
Auto Trait Implementations§
impl Freeze for Colors
impl RefUnwindSafe for Colors
impl Send for Colors
impl Sync for Colors
impl Unpin for Colors
impl UnsafeUnpin 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