Enum erg_common::style::Color
source · pub enum Color {
Show 17 variants
Reset,
Black,
Blue,
Cyan,
Gray,
Green,
Magenta,
Red,
White,
Yellow,
CustomRed,
CustomBlue,
CustomGray,
CustomCyan,
CustomMagenta,
CustomGreen,
CustomYellow,
}
Variants§
Reset
Black
Blue
Cyan
Gray
Green
Magenta
Red
White
Yellow
CustomRed
CustomBlue
CustomGray
CustomCyan
CustomMagenta
CustomGreen
CustomYellow
Implementations§
Trait Implementations§
source§impl PartialEq<Color> for Color
impl PartialEq<Color> for Color
source§impl PartialOrd<Color> for Color
impl PartialOrd<Color> for Color
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more