Module from_fn
core
1.93.0-nightly
(07bdbaedc 2025-11-19)
Module from_fn
Module Items
Structs
Functions
In core::
iter::
sources
core
::
iter
::
sources
Module
from_fn
Copy item path
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.