#[repr(usize)]pub enum Ansi8 {
Black = 30,
Red = 31,
Green = 32,
Yellow = 33,
Blue = 34,
Magenta = 35,
Cyan = 36,
White = 37,
Default = 39,
Reset = 0,
}
Expand description
the numbers for the basic ANSI colors set by the terminal. These are the widely used colors for the terminal, not specific ones. They may not be the right color as they are terminal dependent.
Variants§
Black = 30
Red = 31
Green = 32
Yellow = 33
Blue = 34
Magenta = 35
Cyan = 36
White = 37
Default = 39
not to be confused with Default
Reset = 0
not to be confused with Default
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ansi8
impl RefUnwindSafe for Ansi8
impl Send for Ansi8
impl Sync for Ansi8
impl Unpin for Ansi8
impl UnwindSafe for Ansi8
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