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