Module repeat

Module repeat 

Source
Expand description

Non-empty iterators that repeat items.

Structs§

Repeat
Represents non-empty iterators that repeat the given item endlessly.
RepeatN
Represents non-empty iterators that repeat the given item exactly the given number of times.
RepeatWith
Represents non-empty iterators that repeat items computed from the given function endlessly.

Functions§

repeat
Creates Repeat<T> non-empty iterator that repeats the given item endlessly.
repeat_n
Creates RepeatN<T> non-empty iterator that repeats the given item the given number of times.
repeat_with
Creates RepeatWith<F> non-empty iterator that repeats items computed from the given function endlessly.