pub fn load_file<T: WithSchema + Deserialize, P: AsRef<Path>>(
filepath: P,
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.