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

Blue

Cyan

Green

Magenta

Red

White

Yellow

Trait Implementations

impl Copy for Color
[src]

impl Clone for Color
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Color
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Color
[src]

impl PartialEq for Color
[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 !=.

Auto Trait Implementations

impl Send for Color

impl Sync for Color