Enum cursive::theme::Color [] [src]

pub enum Color {
    Dark(BaseColor),
    Light(BaseColor),
    Rgb(u8u8u8),
    RgbLowRes(u8u8u8),
}

Represents a color used by the theme.

Variants

One of the 8 base colors.

Lighter version of a base color.

True-color, 24-bit.

Low-resolution

Each value should be <= 5 (you'll get panics otherwise).

These 216 possible colors are part of the default color palette.

Trait Implementations

impl Clone for Color
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Color
[src]

impl Debug for Color
[src]

Formats the value using the given formatter.