TreeGenerator
A Generator for a Tree
-
Advance to the next element and return it, or return
nilif no next element exists.Declaration
Swift
public mutating func next() -> Element?
SwiftDataStructures Docs (100% documented)
A Generator for a Tree
Advance to the next element and return it, or return nil if no next element exists.
Swift
public mutating func next() -> Element?