Required Associated Typeswift 6.0.1Swift
Element
A type representing the sequence’s elements.
associatedtype Element where Self.Element == Self.Iterator.Element
Other requirements
Type members
associatedtype Iterator
A type that provides the sequence’s iteration interface and encapsulates its iteration state.
Instance members
var underestimatedCount: Int
A value less than or equal to the number of elements in the sequence, calculated nondestructively.
func makeIterator(
) -> Self.Iterator Returns an iterator over the elements of this sequence.
func withContiguousStorageIfAvailable<R>((UnsafeBufferPointer<Self.Element>) throws -> R
) rethrows -> R? Executes a closure on the sequence’s contiguous storage.