core
1.91.0-nightly
(1ebbd87a6 2025-08-11)
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.