From 87bf73aa478df9ff5ae1f14533495e9c983fca59 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Wed, 22 Jan 2020 02:16:12 -0500 Subject: [PATCH] Derive Eq and PartialEq for Color --- src/color.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color.rs b/src/color.rs index bc83c9d..cb0f668 100644 --- a/src/color.rs +++ b/src/color.rs @@ -1,7 +1,7 @@ use std::convert::TryFrom; use std::fmt::{self, Display}; -#[derive(Debug)] +#[derive(Debug, Clone, Copy, Eq, PartialEq)] pub enum Color { AliceBlue, // = 0xF0F8FF, AntiqueWhite, // = 0xFAEBD7,