Enum hematite_server::types::consts::Color [] [src]

pub enum Color {
    Black,
    DarkBlue,
    DarkGreen,
    DarkCyan,
    DarkRed,
    Purple,
    Gold,
    Gray,
    DarkGray,
    Blue,
    BrightGreen,
    Cyan,
    Red,
    Pink,
    Yellow,
    White,
}

Variants

Black
DarkBlue
DarkGreen
DarkCyan
DarkRed
Purple
Gold
Gray
DarkGray
Blue
BrightGreen
Cyan
Red
Pink
Yellow
White

Trait Implementations

impl AsRef<str> for Color

fn as_ref(&self) -> &str

impl FromStr for Color

type Err = ()

fn from_str(string: &str) -> Result<Color, ()>

impl ToJson for Color

fn to_json(&self) -> Json

Derived Implementations

impl PartialEq for Color

fn eq(&self, __arg_0: &Color) -> bool

fn ne(&self, __arg_0: &Color) -> bool

impl Eq for Color

impl Debug for Color

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

impl Copy for Color

impl Clone for Color

fn clone(&self) -> Color

fn clone_from(&mut self, source: &Self)