StrideToIterator

struct StrideToIterator

An iterator for a StrideTo instance.

Inheritance IteratorProtocol

Instance Methods

func next() -> Element? Required

Advances to the next element and returns it, or nil if no next element exists.

Once nil has been returned, all subsequent calls return nil.

Declaration

@inlinable public mutating func next() -> Element?