Enum easycurses::Color
[−]
[src]
pub enum Color {
Black,
Red,
Green,
Yellow,
Blue,
Magenta,
Cyan,
White,
}The curses color constants.
Curses supports eight different colors. Each character cell has one "color pair" set which is a foreground and background pairing. Note that a cell can also be "bold", which might display as differnet colors on some terminals.
Variants
BlackRedGreenYellowBlueMagentaCyanWhiteMethods
impl Color[src]
fn color_iterator() -> Cloned<Iter<'static, Color>>
Provides a handy Iterator over all of the Color values.
Trait Implementations
impl Debug for Color[src]
impl PartialEq for Color[src]
fn eq(&self, __arg_0: &Color) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for Color[src]
impl Clone for Color[src]
fn clone(&self) -> Color
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more