Trait GetUntracked
pub trait GetUntracked: DefinedAt {
type Value;
// Required method
fn try_get_untracked(&self) -> Option<Self::Value>;
// Provided method
fn get_untracked(&self) -> Self::Value { ... }
}Expand description
Clones the value of the signal, without tracking the value reactively.
Required Associated Typesยง
type Value
type Value
The type of the value contained in the signal.
Required Methodsยง
fn try_get_untracked(&self) -> Option<Self::Value>
fn try_get_untracked(&self) -> Option<Self::Value>
Clones and returns the value of the signal,
or None if the signal has already been disposed.
Provided Methodsยง
fn get_untracked(&self) -> Self::Value
fn get_untracked(&self) -> Self::Value
Clones and returns the value of the signal,
ยงPanics
Panics if you try to access a signal that has been disposed.
Dyn Compatibilityยง
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".