Trait Get
pub trait Get: DefinedAt {
type Value: Clone;
// Required method
fn try_get(&self) -> Option<Self::Value>;
// Provided method
fn get(&self) -> Self::Value { ... }
}Expand description
Clones the value of the signal, without tracking the value reactively. and subscribes the active reactive observer (an effect or computed) to changes in its value.
Required Associated Typesยง
Required Methodsยง
Provided Methodsยง
Dyn Compatibilityยง
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".