Skip to main content
Module from_fn
core
1.102.0-nightly
(6181cc4f0 2026-11-28)
Module from_fn
Module Items
Re-exports
Structs
Functions
In core::
iter::
sources
core
::
iter
::
sources
Module
from_fn
Copy item path
Source
Re-exports
§
use crate::
fmt
;
🔒
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.