Module repeat_with

Module repeat_with 

Source

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.