Expand description
Lock-backed bindings with keypath projection (SwiftUI Binding dynamic-member style).
Reads and writes go through the store’s shared mutex — no full-state clone.
Project a field with StateBinding::project / ProjectedBinding::project.
When a keypath cannot focus (e.g. None in an Option field), ProjectedBinding::with
and ProjectedBinding::with_mut return None instead of panicking.
Structs§
- Composed
Binding - Two-segment keypath projection from root state.
- Projected
Binding - A field projected from a
StateBindingthrough a keypath. - Read
Projected Binding - Read-only projected field from
ReadStateBinding. - Read
State Binding - Read-only binding over
RwLockstate — many concurrent readers. - RwProjected
Binding - Projected field from
RwStateBinding. - RwState
Binding - Read/write binding over
RwLockstate — writes take exclusive lock. - State
Binding - Read/write access to store state without cloning
S.