Trait pipe_chain::pipe::RepeatExt
source · pub trait RepeatExt<I, O, E> {
// Provided method
fn repeat<R>(self, r: R) -> RepeatPipe<Self, O>
where R: TryInto<Repetition>,
R::Error: Error,
Self: Pipe<I, O, E> + Sized { ... }
}Expand description
Combinator that makes repetitions
Provided Methods§
sourcefn repeat<R>(self, r: R) -> RepeatPipe<Self, O>where
R: TryInto<Repetition>,
R::Error: Error,
Self: Pipe<I, O, E> + Sized,
fn repeat<R>(self, r: R) -> RepeatPipe<Self, O>where R: TryInto<Repetition>, R::Error: Error, Self: Pipe<I, O, E> + Sized,
Repeats this pipe.
The repetition can be a fixed number or a range