Enum console::Color [−][src]
pub enum Color {
Black,
Red,
Green,
Yellow,
Blue,
Magenta,
Cyan,
White,
}A terminal color.
Variants
BlackRedGreenYellowBlueMagentaCyanWhite
Trait Implementations
impl Copy for Color[src]
impl Copy for Colorimpl Clone for Color[src]
impl Clone for Colorfn clone(&self) -> Color[src]
fn clone(&self) -> ColorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Color[src]
impl Debug for Colorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Color[src]
impl PartialEq for Colorfn eq(&self, other: &Color) -> bool[src]
fn eq(&self, other: &Color) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for Color[src]
impl Eq for Color