Module sources

Source
Expand description

Iterators that are sources (produce elements from parameters, not from another iterator).

Structs§

Iterate
An iterator that infinitely applies function to value and yields results.
UnfoldDeprecated
See unfold for more information.

Functions§

iterate
Creates a new iterator that infinitely applies function to value and yields results.
unfoldDeprecated
Creates a new unfold source with the specified closure as the “iterator function” and an initial state to eventually pass to the closure