Trait ori_core::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>

§

type Item = T

source§

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

§

type Item = T