pub enum Color {
}
Expand description
Represents a color.
Variants§
Default
The default terminal color.
LightWhite
The standard white color.
LightBlack
The standard black color.
LightBlue
The standard blue color.
LightCyan
The standard cyan color.
LightGreen
The standard green color.
LightMagenta
The standard magenta color.
LightRed
The standard red color.
LightYellow
The standard yellow color.
LightGrey
The standard grey color.
DarkWhite
The dimmed white color.
DarkBlack
The dimmed black color.
DarkBlue
The dimmed blue color.
DarkCyan
The dimmed cyan color.
DarkGreen
The dimmed green color.
DarkMagenta
The dimmed magenta color.
DarkRed
The dimmed red color.
DarkYellow
The dimmed yellow color.
DarkGrey
The dimmed grey color.
Index(u8)
An ANSI indexed color.
Rgb
Fields
A RGB color triple.
Trait Implementations§
source§impl PartialEq<Color> for Color
impl PartialEq<Color> for Color
impl Copy for Color
impl Eq for Color
impl StructuralEq for Color
impl StructuralPartialEq for Color
Auto Trait Implementations§
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