Skip to main content
Module repeat_n
core
1.96.0-nightly
(38c0de8dc 2026-02-28)
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.