Struct rgen3_save::Save
[−]
[src]
pub struct Save { /* fields omitted */ }
Pokémon Gen3 save data.
Methods
impl Save
[src]
fn read<R: Read + Seek>(reader: &mut R) -> Result<Self, Box<Error>>
Read the save data from a Read
implementer.
fn write<W: Write>(&self, writer: &mut W) -> Result<()>
Write the save data to a Write
implementer.
impl Save
[src]
fn load_from_file<P: AsRef<Path>>(path: P) -> Result<Self, Box<Error>>
Load the save data from a file at the provided path.
fn save_to_file<P: AsRef<Path>>(&self, path: P) -> Result<(), Error>
Save the save data to a file at the provided path.