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§
Required Methods§
Sourcefn 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§
Sourcefn 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.