Trait silkenweb_reactive::signal::SignalReceiver [−][src]
pub trait SignalReceiver<Input, Output>: 'static where
Input: 'static,
Output: 'static, { fn receive(&self, x: &Input) -> Output; }
Receive changes to a signal.
Required methods
fn receive(&self, x: &Input) -> Output
[src]
Receive the changes. It’s Ok for this to have side effects.
Implementors
impl<Input, Output, F> SignalReceiver<Input, Output> for F where
Input: 'static,
Output: 'static,
F: 'static + Fn(&Input) -> Output,
[src]
impl<Input, Output, F> SignalReceiver<Input, Output> for F where
Input: 'static,
Output: 'static,
F: 'static + Fn(&Input) -> Output,
[src]impl<T: 'static + Clone + Zero + WrappingAdd + WrappingSub> SignalReceiver<T, SumHandle> for SumElement<T>
[src]
impl<T: 'static + Clone + Zero + WrappingAdd + WrappingSub> SignalReceiver<T, SumHandle> for SumElement<T>
[src]