Struct savefile::Variant [−][src]
Expand description
An enum variant is serialized as its fields, one by one, without any padding.
Fields
name: String
Name of variant
discriminator: u8
Discriminator in binary file-format
fields: Vec<Field>
Fields of variant
Trait Implementations
Deserialize and return an instance of Self from the given deserializer.
Serialize self into the given serializer.
Auto Trait Implementations
impl RefUnwindSafe for Variant
impl UnwindSafe for Variant