Browse Source

some compiler errors, fix em and it will pass. Lots of equality issues

ag-yep
Taylor Bockman 7 years ago
parent
commit
cb4b8bbced
  1. 4
      src/options.rs

4
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 {

Loading…
Cancel
Save