Derive Macrosยง
- Context
- Derive
Context - Context
Builder - Derive
ContextBuilder#[builder_ident = "MyBuilder"]defines the name of the builder (required)#[error_ident = "MyBuilderError"]defines the name of the builder error (required)#[global_state]marks the global state (field) which is inserted when building (required)#[state]marks a state (field) which has to be inserted before building - GetState
- Derive
GetStatefor all fields marked with either#[state]or#[global_state] - State
- Derive
State - State
Async Get - State
Async GetCloned - State
Async GetMut - State
Async GetMut OrInsert - State
Async Insert - State
Async Remove Get - State
Async Remove GetCloned - State
Sync Get - State
Sync GetCloned - State
Sync Mutable GetMut - State
Sync Mutable GetMut OrInsert - State
Sync Mutable Insert - State
Sync Mutable Remove Get - State
Sync Mutable Remove GetCloned