Module signal

Module signal 

Source
Expand description

Reactive primitives for root values that can be changed, notifying other nodes in the reactive graph.

Modules§

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

Structs§

ArcMappedSignal
A derived signal type that wraps an ArcRwSignal with a mapping function, allowing you to read or write directly to one of its field.
ArcReadSignal
A reference-counted getter for a reactive signal.
ArcRwSignal
A reference-counted signal that can be read from or written to.
ArcTrigger
A trigger is a data-less signal with the sole purpose of notifying other reactive code of a change.
ArcWriteSignal
A reference-counted setter for a reactive signal.
DoubleDeref
A wrapper for a smart pointer that implements Deref and DerefMut by dereferencing the type inside the smart pointer.
MappedSignal
A derived signal type that wraps an RwSignal with a mapping function, allowing you to read or write directly to one of its field.
ReadSignal
An arena-allocated getter for a reactive signal.
RwSignal
An arena-allocated signal that can be read from or written to.
Trigger
A trigger is a data-less signal with the sole purpose of notifying other reactive code of a change.
WriteSignal
An arena-allocated setter for a reactive signal.

Functions§

arc_signal
Creates a reference-counted signal.
create_rw_signalDeprecated
Creates a reactive signal with the getter and setter unified in one value.
create_signalDeprecated
Creates an arena-allocated signal, the basic reactive primitive.
create_triggerDeprecated
A trigger is a data-less signal with the sole purpose of notifying other reactive code of a change.
signal
Creates an arena-allocated signal, the basic reactive primitive.
signal_local
Creates an arena-allocated signal.