Module repeat_n
core
1.92.0-nightly
(5c7ae0c7e 2025-10-02)
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.