Skip to main content

Module repeat_with

Module repeat_with 

Source

Re-exportsยง

use crate::fmt; ๐Ÿ”’
use crate::iter::FusedIterator; ๐Ÿ”’
use crate::iter::TrustedLen; ๐Ÿ”’ Experimental
use crate::ops::Try; ๐Ÿ”’ Experimental

Structsยง

RepeatWith
An iterator that repeats elements of type A endlessly by applying the provided closure F: FnMut() -> A.

Functionsยง

repeat_with
Creates a new iterator that repeats elements of type A endlessly by applying the provided closure, the repeater, F: FnMut() -> A.