Skip to main content

MigrationFn

Type Alias MigrationFn 

Source
pub type MigrationFn = fn(data: &mut SaveData) -> Result<(), String>;
Expand description

A function that transforms SaveData from version N to N+1.