Module sources

Source
Expand description

Module defining types implementing iterable traits behaving as source of iterables.

Structs§

Empty
An iterable which does not yield any element.
EmptyCol
An iterable collection without any element.
Once
An iterable which yields a wrapped value only once.
OnceCol
An iterable collection having only one item.
Repeat
An iterable which yields the same value infinitely many times.
RepeatN
An iterable which yields the same value n times.

Functions§

empty
Creates an iterable which does not yield any element.
empty_col
Creates an iterable collection without any element.
once
Creates an iterable which yields only one value.
once_col
Creates an iterable collection having only one element with the given value.
repeat
Creates an iterable which yields the same value infinitely many times.
repeat_n
Creates an iterable which yields the same value n times.