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

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

One of the 8 base colors.

Variants

Black color

Color #0

Red color

Color #1

Green color

Color #2

Yellow color (Red + Green)

Color #3

Blue color

Color #4

Magenta color (Red + Blue)

Color #5

Cyan color (Green + Blue)

Color #6

White color (Red + Green + Blue)

Color #7

Trait Implementations

impl Clone for BaseColor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for BaseColor
[src]

impl Debug for BaseColor
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for BaseColor
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for BaseColor
[src]

impl Hash for BaseColor
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<u8> for BaseColor
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for BaseColor

impl Sync for BaseColor