Derive Eq and PartialEq for Color
This commit is contained in:
parent
54aca3b84e
commit
87bf73aa47
@ -1,7 +1,7 @@
|
|||||||
use std::convert::TryFrom;
|
use std::convert::TryFrom;
|
||||||
use std::fmt::{self, Display};
|
use std::fmt::{self, Display};
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
|
||||||
pub enum Color {
|
pub enum Color {
|
||||||
AliceBlue, // = 0xF0F8FF,
|
AliceBlue, // = 0xF0F8FF,
|
||||||
AntiqueWhite, // = 0xFAEBD7,
|
AntiqueWhite, // = 0xFAEBD7,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user