Enum colored::Color [] [src]

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

The 8 standard colors.

Variants

Methods

impl Color
[src]

Trait Implementations

impl Debug for Color
[src]

Formats the value using the given formatter.

impl PartialEq for Color
[src]

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

This method tests for !=.

impl Eq for Color
[src]

impl<'a> From<&'a str> for Color
[src]

Performs the conversion.

impl From<String> for Color
[src]

Performs the conversion.

impl FromStr for Color
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more