Module from_fn

Source

Structs§

FromFn
An iterator where each iteration calls the provided closure F: FnMut() -> Option<T>.

Functions§

from_fn
Creates an iterator with the provided closure F: FnMut() -> Option<T> as its next method.