core
1.88.0-nightly-4824c2bb7-2025-05-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.
Functions
§
repeat_
n
Creates a new iterator that repeats a single element a given number of times.