Module guards

Expand description

Guards that integrate with the reactive system, wrapping references to the values of signals.

Structs§

AsyncPlain
A guard that provides access to an async signal’s value.
Derefable
A wrapper that implements Deref and Borrow for itself.
Mapped
A guard that maps over another guard.
MappedArc
A mapped read guard in which the mapping function is a closure. If the mapping function is a function pointer, use Mapped.
MappedMut
A mutable guard that maps over an inner mutable guard.
MappedMutArc
A mapped write guard in which the mapping function is a closure. If the mapping function is a function pointer, use MappedMut.
Plain
A guard that provides access to a signal’s inner value.
ReadGuard
A wrapper type for any kind of guard returned by Read.
UntrackedWriteGuard
A guard that provides mutable access to a signal’s inner value, but does not notify of any changes.
WriteGuard
A guard that provides mutable access to a signal’s value, triggering some reactive change when it is dropped.