Module pipe

Source

Structs§

Pipe
A Pipe represents a rs2_stream transformation from one type to another. It’s a function from Stream[I] to Stream[O].

Traits§

PipeExt
Extension trait for pipes

Functions§

compose
Compose two pipes together
filter
Create a pipe that filters elements based on the predicate
identity
Identity pipe that doesn’t transform the rs2_stream
map
Create a pipe that applies the given function to each element