pub enum Color {
}Expand description
Represents a color. See the underlying terminal library documentation for information on terminal compatibility.
Variants§
Reset
Black
Red
Green
Yellow
Blue
Magenta
Cyan
Grey
DarkGrey
LightRed
LightGreen
LightYellow
LightBlue
LightMagenta
LightCyan
White
Rgb(u8, u8, u8)
Ansi(u8)
Trait Implementations§
impl Copy for Color
impl Eq for Color
impl StructuralPartialEq for Color
Auto Trait Implementations§
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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