Function savefile::load_file[][src]

pub fn load_file<T: WithSchema + Deserialize>(
    filepath: &str,
    version: u32
) -> Result<T, SavefileError>
Expand description

Like crate::load , except it deserializes from the given file in the filesystem. This is a pure convenience function.