Iterators that are sources (produce elements from parameters, not from another iterator).
- An iterator that infinitely applies function to value and yields results.
repeat_callfor more information.
unfoldfor more information.
- Creates a new iterator that infinitely applies function to value and yields results.
- repeat_callDeprecatedAn iterator source that produces elements indefinitely by calling a given closure.
- Creates a new unfold source with the specified closure as the “iterator function” and an initial state to eventually pass to the closure