[][src]Enum savefile::SchemaPrimitive

pub enum SchemaPrimitive {
    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,
}

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

schema_i8

i8

schema_u8

u8

schema_i16

i16

schema_u16

u16

schema_i32

i32

schema_u32

u32

schema_i64

i64

schema_u64

u64

schema_string

string

schema_f32

f32

schema_f64

f64

schema_bool

bool

schema_canary1

canary

Trait Implementations

impl Clone for SchemaPrimitive[src]

impl Copy for SchemaPrimitive[src]

impl Debug for SchemaPrimitive[src]

impl Deserialize for SchemaPrimitive[src]

impl PartialEq<SchemaPrimitive> for SchemaPrimitive[src]

impl Serialize for SchemaPrimitive[src]

impl StructuralPartialEq for SchemaPrimitive[src]

impl WithSchema for SchemaPrimitive[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,