|
|
@ -46,7 +46,7 @@ pub mod constants { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// The `EngineOptionType` type used to indicate what type of option the GUI should display
|
|
|
|
/// 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 { |
|
|
|
pub enum EngineOptionType { |
|
|
|
Check, |
|
|
|
Check, |
|
|
|
Spin, |
|
|
|
Spin, |
|
|
@ -55,7 +55,7 @@ pub enum EngineOptionType { |
|
|
|
TypeString, // `String` is a reserved word so `TypeString` is substituted
|
|
|
|
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
|
|
|
|
/// 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)
|
|
|
|
/// This would be set to the type of the engine option (ex. i32)
|
|
|
|
pub enum EngineOptionData { |
|
|
|
pub enum EngineOptionData { |
|
|
|