Trait Bindable

Source
pub trait Bindable<'a> {
    type Item;

    // Required method
    fn bind(&mut self, cx: Scope<'a>, signal: &'a Signal<Self::Item>);
}

Required Associated Types§

Required Methods§

Source

fn bind(&mut self, cx: Scope<'a>, signal: &'a Signal<Self::Item>)

Implementors§

Source§

impl<'a, T: Clone + PartialEq + SendSync + 'static> Bindable<'a> for &'a Signal<T>

Source§

type Item = T

Source§

impl<'a, T: Clone + PartialEq + SendSync + 'static> Bindable<'a> for SharedSignal<T>

Source§

type Item = T