Struct savefile::Deserializer[][src]

pub struct Deserializer<'a> {
    pub file_version: u32,
    pub memory_version: u32,
    // some fields omitted
}

Object from which bytes to be deserialized are read. This is basically just a wrapped std::io::Read object, the version number of the file being read, and the current version number of the data structures in memory.

Fields

Methods

impl<'a> Deserializer<'a>
[src]

Deserialize an object of type T from the given reader. Don't use this method directly, use the [savefile::load] function instead.

Deserialize an object of type T from the given reader. Don't use this method directly, use the [savefile::load_noschema] function instead.

Create a Deserializer. Don't use this method directly, use the [savefile::load] function instead.

Auto Trait Implementations

impl<'a> !Send for Deserializer<'a>

impl<'a> !Sync for Deserializer<'a>