ArrayIntoIterator

struct ArrayIntoIterator<T>

An iterator over array into values. A consuming array iterator that moves elements out in index order.

Slots before position have been moved out; slots from position..<count remain initialized and are destroyed if the iterator is dropped early.

Properties

let storage: Storage<T>

The backing storage.

let count: Int

The total number of elements available to the iterator.

let position: Int

The current position.