Type Alias InitialStateFunction

Source
pub type InitialStateFunction<'a, S> = Box<dyn Fn() -> S + Send + Sync + 'a>;
Expand description

The InitialStateFunction function is used to produce the initial state.

Aliased Typeยง

struct InitialStateFunction<'a, S>(/* private fields */);