Module core::iter::sources::once_with

source ·

Structs

  • An iterator that yields a single element of type A by applying the provided closure F: FnOnce() -> A.

Functions

  • Creates an iterator that lazily generates a value exactly once by invoking the provided closure.