Enum mortal::terminal::Color
[−]
[src]
pub enum Color { Black, Blue, Cyan, Green, Magenta, Red, White, Yellow, }
Represents a color attribute applied to text foreground or background.
Notes
Names here correspond to possible default values for some systems. Because users may reconfigure the set of colors available in their terminal, these color values may correspond to different user-configured display colors.
Variants
Black
Black
Blue
Blue
Cyan
Cyan
Green
Green
Magenta
Magenta
Red
Red
White
White
Yellow
Yellow
Trait Implementations
impl Copy for Color
[src]
impl Clone for Color
[src]
fn clone(&self) -> Color
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Color
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more