lowercase colors
This commit is contained in:
parent
bc8572caaa
commit
5a954d1c9a
|
@ -771,11 +771,17 @@ impl PatternLine {
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize, Clone, Copy, PartialEq, Eq)]
|
#[derive(Debug, Serialize, Deserialize, Clone, Copy, PartialEq, Eq)]
|
||||||
enum Color {
|
enum Color {
|
||||||
|
#[serde(rename = "start")]
|
||||||
Start,
|
Start,
|
||||||
|
#[serde(rename = "blue")]
|
||||||
Blue,
|
Blue,
|
||||||
|
#[serde(rename = "yellow")]
|
||||||
Yellow,
|
Yellow,
|
||||||
|
#[serde(rename = "red")]
|
||||||
Red,
|
Red,
|
||||||
|
#[serde(rename = "black")]
|
||||||
Black,
|
Black,
|
||||||
|
#[serde(rename = "white")]
|
||||||
White,
|
White,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue