pub enum Color {
Show 156 variants
NotSpecified = 0,
WhiteVGA = 1,
RedVGA = 2,
YellowVGA = 3,
LimeVGA = 4,
CyanVGA = 5,
BlueVGA = 6,
MagentaVGA = 7,
GreyVGA = 8,
SilverVGA = 9,
MaroonVGA = 10,
OliveVGA = 11,
GreenVGA = 12,
TealVGA = 13,
NavyVGA = 14,
PurpleVGA = 15,
Black = 20,
Navy = 21,
DarkBlue = 22,
MediumBlue = 23,
Blue = 24,
DarkGreen = 25,
Green = 26,
Teal = 27,
DarkCyan = 28,
DeepSkyBlue = 29,
DarkTurquoise = 30,
MediumSpringGreen = 31,
Lime = 32,
SpringGreen = 33,
Cyan = 34,
MidnightBlue = 35,
DodgerBlue = 36,
LightSeaGreen = 37,
ForestGreen = 38,
SeaGreen = 39,
DarkSlateGray = 40,
LimeGreen = 41,
MediumSeaGreen = 42,
Turquoise = 43,
RoyalBlue = 44,
SteelBlue = 45,
DarkSlateBlue = 46,
MediumTurquoise = 47,
Indigo = 48,
DarkOliveGreen = 49,
CadetBlue = 50,
CornflowerBlue = 51,
MediumAquamarine = 52,
DimGray = 53,
SlateBlue = 54,
OliveDrab = 55,
SlateGray = 56,
LightSlateGray = 57,
MediumSlateBlue = 58,
LawnGreen = 59,
Chartreuse = 60,
Aquamarine = 61,
Maroon = 62,
Purple = 63,
Olive = 64,
Gray = 65,
Grey = 66,
SkyBlue = 67,
LightSkyBlue = 68,
BlueViolet = 69,
DarkRed = 70,
DarkMagenta = 71,
SaddleBrown = 72,
DarkSeaGreen = 73,
LightGreen = 74,
MediumPurple = 75,
DarkViolet = 76,
PaleGreen = 77,
DarkOrchid = 78,
YellowGreen = 79,
Sienna = 80,
Brown = 81,
DarkGray = 82,
LightBlue = 83,
GreenYellow = 84,
PaleTurquoise = 85,
LightSteelBlue = 86,
PowderBlue = 87,
FireBrick = 88,
DarkGoldenRod = 89,
MediumOrchid = 90,
RosyBrown = 91,
DarkKhaki = 92,
Silver = 93,
MediumVioletRed = 94,
IndianRed = 95,
Peru = 96,
Chocolate = 97,
Tan = 98,
LightGray = 99,
PaleVioletRed = 100,
Thistle = 101,
Orchid = 102,
GoldenRod = 103,
Crimson = 104,
Gainsboro = 105,
Plum = 106,
BurlyWood = 107,
LightCyan = 108,
Lavender = 109,
DarkSalmon = 110,
Violet = 111,
PaleGoldenRod = 112,
LightCoral = 113,
Khaki = 114,
AliceBlue = 115,
HoneyDew = 116,
Azure = 117,
SandyBrown = 118,
Wheat = 119,
Beige = 120,
WhiteSmoke = 121,
MintCream = 122,
GhostWhite = 123,
Salmon = 124,
AntiqueWhite = 125,
Linen = 126,
LightGoldenRodYellow = 127,
OldLace = 128,
Red = 129,
Fuchsia = 130,
Magenta = 131,
DeepPink = 132,
OrangeRed = 133,
Tomato = 134,
HotPink = 135,
Coral = 136,
DarkOrange = 137,
LightSalmon = 138,
Orange = 139,
LightPink = 140,
Pink = 141,
Gold = 142,
PeachPuff = 143,
NavajoWhite = 144,
Moccasin = 145,
Bisque = 146,
MistyRose = 147,
BlanchedAlmond = 148,
PapayaWhip = 149,
LavenderBlush = 150,
SeaShell = 151,
Cornsilk = 152,
LemonChiffon = 153,
FloralWhite = 154,
Snow = 155,
Yellow = 156,
LightYellow = 157,
Ivory = 158,
White = 159,
}
Variants§
NotSpecified = 0
WhiteVGA = 1
RedVGA = 2
YellowVGA = 3
LimeVGA = 4
CyanVGA = 5
BlueVGA = 6
MagentaVGA = 7
GreyVGA = 8
SilverVGA = 9
MaroonVGA = 10
OliveVGA = 11
GreenVGA = 12
TealVGA = 13
PurpleVGA = 15
Black = 20
DarkBlue = 22
MediumBlue = 23
Blue = 24
DarkGreen = 25
Green = 26
Teal = 27
DarkCyan = 28
DeepSkyBlue = 29
DarkTurquoise = 30
MediumSpringGreen = 31
Lime = 32
SpringGreen = 33
Cyan = 34
MidnightBlue = 35
DodgerBlue = 36
LightSeaGreen = 37
ForestGreen = 38
SeaGreen = 39
DarkSlateGray = 40
LimeGreen = 41
MediumSeaGreen = 42
Turquoise = 43
RoyalBlue = 44
SteelBlue = 45
DarkSlateBlue = 46
MediumTurquoise = 47
Indigo = 48
DarkOliveGreen = 49
CadetBlue = 50
CornflowerBlue = 51
MediumAquamarine = 52
DimGray = 53
SlateBlue = 54
OliveDrab = 55
SlateGray = 56
LightSlateGray = 57
MediumSlateBlue = 58
LawnGreen = 59
Chartreuse = 60
Aquamarine = 61
Maroon = 62
Purple = 63
Olive = 64
Gray = 65
Grey = 66
SkyBlue = 67
LightSkyBlue = 68
BlueViolet = 69
DarkRed = 70
DarkMagenta = 71
SaddleBrown = 72
DarkSeaGreen = 73
LightGreen = 74
MediumPurple = 75
DarkViolet = 76
PaleGreen = 77
DarkOrchid = 78
YellowGreen = 79
Sienna = 80
Brown = 81
DarkGray = 82
LightBlue = 83
GreenYellow = 84
PaleTurquoise = 85
LightSteelBlue = 86
PowderBlue = 87
FireBrick = 88
DarkGoldenRod = 89
MediumOrchid = 90
RosyBrown = 91
DarkKhaki = 92
Silver = 93
MediumVioletRed = 94
IndianRed = 95
Peru = 96
Chocolate = 97
Tan = 98
LightGray = 99
PaleVioletRed = 100
Thistle = 101
Orchid = 102
GoldenRod = 103
Crimson = 104
Gainsboro = 105
Plum = 106
BurlyWood = 107
LightCyan = 108
Lavender = 109
DarkSalmon = 110
Violet = 111
PaleGoldenRod = 112
LightCoral = 113
Khaki = 114
AliceBlue = 115
HoneyDew = 116
Azure = 117
SandyBrown = 118
Wheat = 119
Beige = 120
WhiteSmoke = 121
MintCream = 122
GhostWhite = 123
Salmon = 124
AntiqueWhite = 125
Linen = 126
LightGoldenRodYellow = 127
OldLace = 128
Red = 129
Fuchsia = 130
Magenta = 131
DeepPink = 132
OrangeRed = 133
Tomato = 134
HotPink = 135
Coral = 136
DarkOrange = 137
LightSalmon = 138
Orange = 139
LightPink = 140
Pink = 141
Gold = 142
PeachPuff = 143
Moccasin = 145
Bisque = 146
MistyRose = 147
BlanchedAlmond = 148
PapayaWhip = 149
LavenderBlush = 150
SeaShell = 151
Cornsilk = 152
LemonChiffon = 153
FloralWhite = 154
Snow = 155
Yellow = 156
LightYellow = 157
Ivory = 158
White = 159
Implementations§
Trait Implementations§
Source§impl FromPrimitive for Color
impl FromPrimitive for Color
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreimpl Copy for Color
impl StructuralPartialEq for Color
Auto Trait Implementations§
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more