Writable

Trait Writable 

Source
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§

Source

fn write(&self, root: AtomRoot, value: V)

Implementors§

Source§

impl<K, V> Writable<HashMap<K, V>> for &'static AtomFamily<K, V>

Source§

impl<V> Writable<V> for &'static Atom<V>