Trait reactive_graph::traits::ReadUntracked
source · pub trait ReadUntracked: Sized + DefinedAt {
type Value: Deref;
// Required method
fn try_read_untracked(&self) -> Option<Self::Value>;
// Provided method
fn read_untracked(&self) -> Self::Value { ... }
}
Expand description
Give read-only access to a signal’s value by reference through a guard type, without tracking the value reactively.
Required Associated Types§
Required Methods§
sourcefn try_read_untracked(&self) -> Option<Self::Value>
fn try_read_untracked(&self) -> Option<Self::Value>
Returns the guard, or None
if the signal has already been disposed.
Provided Methods§
sourcefn read_untracked(&self) -> Self::Value
fn read_untracked(&self) -> Self::Value
Object Safety§
This trait is not object safe.