struct String.UnicodeScalarView.Generator

A type whose instances can produce the elements of this sequence, in order.

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.

Requires: No preceding call to has returned nil.


mutating func next() -> UnicodeScalar?