Skip to main content

Crate anathema_state

Crate anathema_state 

Source

Re-exports§

pub use crate as state;

Structs§

Hex
List
Map
Maybe
PendingValue
SharedState
Shared state
StateId
States
Subscriber
A composite key made up of a key and an index into small map.
Value
A value that reacts to change.
ValueRef
This is a detached value without an associated value type.
Watcher

Enums§

Change
Color
Representation of terminal colors, following the ANSI spec
Number
Path
SubTo
Store sub keys. This is used by any type that needs to track any or all the values that it subscribes to.
Type
Watched

Traits§

AnyList
AnyMap
FromColor
State
TypeId

Functions§

clear_all_changes
Clear all changes
clear_all_subs
Remove all subscribers from values.
drain_changes
Drain the current changes into a local value.
drain_watchers
Drain values from WATCH_QUEUE into the local stack.

Type Aliases§

Changes
Nullable

Derive Macros§

State