Enum crossterm::Color [−][src]
pub enum Color { Black, Red, DarkRed, Green, DarkGreen, Yellow, DarkYellow, Blue, DarkBlue, Magenta, DarkMagenta, Cyan, DarkCyan, Grey, White, }
Colors that are available for coloring the terminal font.
Variants
Black
Red
DarkRed
Green
DarkGreen
Yellow
DarkYellow
Blue
DarkBlue
Magenta
DarkMagenta
Cyan
DarkCyan
Grey
White
Trait Implementations
impl Debug for Color
[src]
impl Debug for Color
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Color
[src]
impl Copy for Color
impl Clone for Color
[src]
impl Clone for Color
fn clone(&self) -> Color
[src]
fn clone(&self) -> Color
Returns 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<'a> From<&'a str> for Color
[src]
impl<'a> From<&'a str> for Color
impl From<String> for Color
[src]
impl From<String> for Color
impl FromStr for Color
[src]
impl FromStr for Color