Enum dvcompute::simulation::stream::Stream[][src]

pub enum Stream<T> {
    Cons(ProcessBox<(T, Stream<T>)>),
}
Expand description

An infinite stream of data.

Variants

Cons(ProcessBox<(T, Stream<T>)>)

Tuple Fields

0: ProcessBox<(T, Stream<T>)>

The cons-cell.

Implementations

Run the stream computation.

Map the stream according the specified function.

Compose the stream.

Accumulator that outputs a value determined by the specified function.

Filter only those data values that satisfy to the specified predicate.

Filter only those data values that satisfy to the specified predicate.

Return the prefix of the stream of the specified length.

Return the longest prefix of the stream of elements that satisfy the predicate.

Return the longest prefix of the stream of elements that satisfy the computations.

Return the suffix of the stream after the specified first elements.

Return the suffix of the stream of elements remaining after take_while.

Return the suffix of the stream of elements remaining after take_while_c.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.