Module 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.