#[derive(InitAppState)]Expand description
Derive macro for InitAppState.
Allows you to initialize app states with init_app_state.
ยงExample
use app_state::{stateful, AppState, InitAppState};
#[derive(InitAppState)]
struct State {
name: String,
}
fn main() {
State {
name: "Hello".to_string(),
}.init_app_state();
}