pub type MigrationFn = fn(data: &mut SaveData) -> Result<(), String>;
A function that transforms SaveData from version N to N+1.
SaveData