core
core
::
iter
::
sources
::
from_fn
Module
from_fn
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.