Enum minecraft_json::minecraft::text::ColourName [−][src]
pub enum ColourName {}Show variants
Black, DarkBlue, DarkGreen, DarkAqua, DarkRed, DarkPurple, Gold, Gray, DarkGray, Blue, Green, Aqua, Red, LightPurple, Yellow, White, Reset,
Expand description
Pre-defined colour names.
assert_equiv!(r#""dark_purple""#, ColourName::DarkPurple); assert_equiv!(r#""reset""#, ColourName::Reset);
Variants
Cancels out the effects of colors used by parent objects.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more