StrideToGenerator

struct StrideToGenerator<Element : Strideable>

A GeneratorType for StrideTo<Element>.

Inheritance GeneratorType View Protocol Hierarchy →
Import import Swift

Instance Methods

mutating func next()

Advance to the next element and return it, or nil if no next element exists.

Declaration

mutating func next() -> Element?