Module shared_state

Source
Expand description

Shared state that can be accessed by many components.

Structs§

Reducer
A type that allows you to share information across your application easily.
SharedState
A type that allows you to share information across your application easily. Get immutable and mutable access to the data and subscribe to changes.
SharedStateReadGuard
A guard that immutably dereferences Data.
SharedStateWriteGuard
A guard that mutably dereferences Data. Once dropped all subscribers of the SharedState will be notified.

Traits§

Reducible
A trait that implements a reducer function.