struct UnsafeBufferPointerGenerator<T>

A generator for the elements in the buffer referenced by UnsafeBufferPointer or UnsafeMutableBufferPointer

Inheritance GeneratorType, SequenceType, _SequenceType, _Sequence_Type View Protocol Hierarchy →
Associated Types
Generator = UnsafeBufferPointerGenerator<T>

Type alias inferred.

Element = Generator.Element

Type alias inferred.

Import import Swift

Instance Methods

func generate()

UnsafeBufferPointerGenerator is also a SequenceType, so it generate's a copy of itself


func generate() -> UnsafeBufferPointerGenerator<T>
mutating func next()

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


mutating func next() -> T?