Module relm4::shared_state

source ·
Expand description

Shared state that can be accessed by many components.

Structs

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

Traits

  • A trait that implements a reducer function.