Trait cfrp::Signal
[−]
[src]
pub trait Signal<A>: Send where A: 'static + Send + Clone {
fn config(&self) -> Config;
fn initial(&self) -> SignalType<A>;
fn push_to(self: Box<Self>, Option<Box<Push<A>>>);
fn init(&mut self) { ... }
}
Types which can serve as a data source
Required Methods
fn config(&self) -> Config
fn initial(&self) -> SignalType<A>
fn push_to(self: Box<Self>, Option<Box<Push<A>>>)
Provided Methods
fn init(&mut self)
Implementors
impl<A> Signal<A> for Channel<A> where A: 'static + Send + Clone
impl<F, A, B> Signal<B> for FoldSignal<F, A, B> where F: 'static + Send + Fn(B, A) -> B, A: 'static + Send + Clone, B: 'static + Send + Clone
impl<A> Signal<A> for Branch<A> where A: 'static + Send + Clone
impl<F, A, B> Signal<B> for LiftSignal<F, A, B> where F: 'static + Send + Fn(A) -> B, A: 'static + Send + Clone, B: 'static + Send + Clone
impl<F, A, B, C> Signal<C> for Lift2Signal<F, A, B, C> where F: 'static + Send + Fn(Value<A>, Value<B>) -> C, A: 'static + Send + Clone, B: 'static + Send + Clone, C: 'static + Send + Clone
impl<A> Signal<A> for Value<A> where A: 'static + Send + Clone
impl<A> Signal<A> for Box<Signal<A>> where A: 'static + Send + Clone