AnyIterator
A type-erased iterator of Element.
Declaration
@frozen struct AnyIterator<Element>Overview
This iterator forwards its next() method to an arbitrary underlying iterator having the same Element type, hiding the specifics of the underlying IteratorProtocol.