Module iter

Module iter 

Source

Functionsยง

repeat
Creates a new iterator that endlessly repeats a single element.
repeat_n
Creates a new iterator that repeats a single element a given number of times.