Skip to main content

factory

Function factory 

Source
pub fn factory<G: Game + 'static>(make: impl Fn() -> G + 'static) -> Factory