OutputSpan
OutputSpan is a reference to a contiguous region of memory that starts with some number of initialized Element instances followed by uninitialized memory. It provides operations to access the items it stores, as well as to add new elements and to remove existing ones.
Declaration
@frozen struct OutputSpan<Element> where Element : ~CopyableTopics
Initializers
Instance Properties
Instance Methods
append(_:)append(repeating:count:)finalize(for:)finalize(for:)removeAll()removeLast()removeLast(_:)swapAt(_:_:)swapAt(unchecked:unchecked:)withUnsafeMutableBufferPointer(_:)