Expand description
Module defining types implementing iterable traits behaving as source of iterables.
Structs§
- Empty
- An iterable which does not yield any element.
- Empty
Col - 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.