String.UnicodeScalarView.Generator

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 self.next() has returned nil.

Declaration

mutating func next() -> UnicodeScalar?