Crate app_state_macros
Source - init_default_mut_state
- Initialize the default state of the annotated struct
on application startup using
ctor.
The default state is the result of calling Default::default(). - init_default_state
- Initialize the default state of the annotated struct
on application startup using
ctor.
The default state is the result of calling Default::default(). - stateful
- Inject app states into the annotated function.
- InitAppState
- Derive macro for
InitAppState.
Allows you to initialize app states with init_app_state. - InitMutAppState
- Derive macro for
InitMutAppState.
Allows you to initialize app states with init_mut_app_state.