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 {