Skip to main content

Load

Type Alias Load 

Source
pub type Load<G> = Box<dyn FnOnce(Setup) -> Result<Game<G>, String>>;
Expand description

A game’s load: its data read and its game made from the Setup, or why it can’t start (shown instead of the game).

Aliased Type§

pub struct Load<G>(/* private fields */);