subscript(unchecked:)
Accesses the element at the specified position in the MutableSpan.
Declaration
subscript(unchecked position: MutableSpan<Element>.Index) -> Element { get set }Parameters
- position:
The offset of the element to access.
positionmust be greater or equal to zero, and less thancount.
Overview
This subscript does not validate position; this is an unsafe operation.