Struct cfrp::primitives::fold::FoldSignal [] [src]

pub struct FoldSignal<F, A, B> where
    F: 'static + Send + Fn(B, A) -> B,
    A: 'static + Send + Clone,
    B: 'static + Send + Clone
{ /* fields omitted */ }

The result of a fold operation

Methods

impl<F, A, B> FoldSignal<F, A, B> where
    F: 'static + Send + Fn(B, A) -> B,
    A: 'static + Send + Clone,
    B: 'static + Send + Clone
[src]

Trait Implementations

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
[src]

impl<F, A, B> SignalExt<B> for FoldSignal<F, A, B> where
    F: 'static + Send + Fn(B, A) -> B,
    A: 'static + Send + Clone,
    B: 'static + Send + Clone
[src]

Transform in input signal into an output signal Read more

Combine two signals into an output signal Read more

Merge data from a signal into an accumulator and return a signal with the accumulator's value Read more

Sugar for Builder::add Read more

Sugar for Builder::async Read more

Alias of lift

Takes two input signals and returns a signal containing 2-tuples of elements from the input signals. Read more

Same as Iterator::enumerate. Read more

Filter an input stream by a predicate function F. Read more

Pass each value in a signal to F before sending it to an output signal. Read more