Module repeat_n
core
1.93.0-nightly
(07bdbaedc 2025-11-19)
Module repeat_
n
Module Items
Structs
Functions
In core::
iter::
sources
core
::
iter
::
sources
Module
repeat_
n
Copy item path
Source
Structs
§
RepeatN
An iterator that repeats an element an exact number of times.
RepeatN
Inner
🔒
Functions
§
repeat_
n
Creates a new iterator that repeats a single element a given number of times.