pub trait Writable<V>: Readable<V> {
// Required method
fn write(&self, root: AtomRoot, value: V);
}Expand description
All Atoms are Writable - they support writing their value.
This trait lets Dioxus abstract over Atoms, AtomFamilies, AtomRefs, and Selectors. This trait lets Dioxus abstract over Atoms, AtomFamilies, AtomRefs, and Selectors
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".