Enum savefile::SchemaPrimitive [−][src]
pub enum SchemaPrimitive {}Show variants
schema_i8, schema_u8, schema_i16, schema_u16, schema_i32, schema_u32, schema_i64, schema_u64, schema_string, schema_f32, schema_f64, schema_bool, schema_canary1,
Expand description
A primitive is serialized as the little endian representation of its type, except for string, which is serialized as an usize length followed by the string in utf8.
Variants
i8
u8
i16
u16
i32
u32
i64
u64
string
f32
f64
bool
canary
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 SchemaPrimitive
impl Send for SchemaPrimitive
impl Sync for SchemaPrimitive
impl Unpin for SchemaPrimitive
impl UnwindSafe for SchemaPrimitive
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V