Structs§
- Repeat
- Iterator adaptor for the
repeat()
function. - RepeatN
- Iterator adaptor for the
repeat_n()
function. - Repeat
Producer 🔒 - Unindexed producer for
Repeat
.
Enums§
- RepeatN
Producer 🔒 - Producer for
RepeatN
.
Functions§
- repeat
- Creates a parallel iterator that endlessly repeats
element
(by cloning it). Note that this iterator has “infinite” length, so typically you would want to usezip
ortake
or some other means to shorten it, or consider using therepeat_n()
function instead. - repeat_
n - Creates a parallel iterator that produces
n
repeats ofelement
(by cloning it). - repeatn
Deprecated - Creates a parallel iterator that produces
n
repeats ofelement
(by cloning it).