Module state

Module state 

Source

Structs§

State
A reactive state container that holds a value of type T and manages subscriptions to changes.

Enums§

ReadState
Given a type T you may pass an owned value, a State<T> or a function returning a ReadRef<T>
ReadStateCow

Traits§

MutView

Functions§

use_state
Creates a reactive state value initialized with the returned value of the init callback.

Type Aliases§

ReadRef
WriteRef