Enum cursive::theme::BaseColor [] [src]

pub enum BaseColor {
    Black,
    Red,
    Green,
    Yellow,
    Blue,
    Magenta,
    Cyan,
    White,
}

One of the 8 base colors.

Variants

Black

Black color

Color #0

Red

Red color

Color #1

Green

Green color

Color #2

Yellow

Yellow color (Red + Green)

Color #3

Blue

Blue color

Color #4

Magenta

Magenta color (Red + Blue)

Color #5

Cyan

Cyan color (Green + Blue)

Color #6

White

White color (Red + Green + Blue)

Color #7

Trait Implementations

impl Debug for BaseColor
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for BaseColor
[src]

impl Clone for BaseColor
[src]

fn clone(&self) -> BaseColor

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