☰
Module once_with
Structs
Functions
?
Module
core
::
iter
::
sources
::
once_with
source
·
[
−
]
Structs
OnceWith
An iterator that yields a single element of type
A
by applying the provided closure
F: FnOnce() -> A
.
Functions
once_with
Creates an iterator that lazily generates a value exactly once by invoking the provided closure.