pub struct Colors {}
Implementations§
source§impl Colors
impl Colors
pub fn fg_red() -> String
pub fn fg_yellow() -> String
pub fn fg_green() -> String
pub fn fg_blue() -> String
pub fn fg_white() -> String
pub fn fg_cyan() -> String
pub fn fg_black() -> String
pub fn fg_magenta() -> String
pub fn fg_reset() -> String
pub fn bg_red() -> String
pub fn bg_yellow() -> String
pub fn bg_green() -> String
pub fn bg_blue() -> String
pub fn bg_white() -> String
pub fn bg_cyan() -> String
pub fn bg_black() -> String
pub fn bg_magenta() -> String
pub fn bg_reset() -> String
Auto Trait Implementations§
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