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
.