Struct cfrp::primitives::fork::Branch [] [src]

pub struct Branch<A> where
    A: 'static + Send
{ /* fields omitted */ }

A data source of type A which can be used as input more than once

This operation is equivalent to a "let" binding, or variable assignment. Branch implements Clone, and each clone runs in its own thread.

Branches are returned when add is called on a Builder

Methods

impl<A> Branch<A> where
    A: 'static + Send
[src]

Trait Implementations

impl<A> Signal<A> for Branch<A> where
    A: 'static + Send + Clone
[src]

impl<A> SignalExt<A> for Branch<A> where
    A: '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

impl<A> Clone for Branch<A> where
    A: 'static + Send + Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more