via

Function new

source
pub fn new<State>(state: State) -> App<State>
where State: Send + Sync + 'static,
Expand description

Constructs a new App with the provided state.