Enum ogmo3::level::Value [−][src]
Expand description
A dynamically typed value.
As Ogmo’s level format does not store the type alongside the value, it is not possible for this enum to specify the exact type of the original value template.
Variants
A boolean value.
Tuple Fields of Boolean
0: bool
A string value.
Tuple Fields of String
0: String
A numeric value.
This may have originally been an integer when set, but the Ogmo format does not provide enough information to figure that out without cross-referencing the project.
Tuple Fields of Number
0: f32
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more