From cb4b8bbcedb8316e568f2ba1bf501a0bb1bea349 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Thu, 14 Dec 2017 16:23:16 -0800 Subject: [PATCH] some compiler errors, fix em and it will pass. Lots of equality issues --- src/options.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options.rs b/src/options.rs index fa8c8e3..826c55c 100644 --- a/src/options.rs +++ b/src/options.rs @@ -46,7 +46,7 @@ pub mod constants { } /// The `EngineOptionType` type used to indicate what type of option the GUI should display -#[derive(Copy, Debug, Eq)] +#[derive(Clone, Debug, PartialEq)] pub enum EngineOptionType { Check, Spin, @@ -55,7 +55,7 @@ pub enum EngineOptionType { TypeString, // `String` is a reserved word so `TypeString` is substituted } -#[derive(Copy, Debug, PartialEq, PartialOrd)] +#[derive(Clone, Debug, PartialEq, PartialOrd)] /// The `EngineOptionData` makes the data type generic so one `EngineOption` can represent everything /// This would be set to the type of the engine option (ex. i32) pub enum EngineOptionData {