Contents

subscript(_:)

Accesses the element at the specified position in the MutableSpan.

Declaration

subscript(position: MutableSpan<Element>.Index) -> Element { get set }

Parameters

  • position:

    The offset of the element to access. position must be greater or equal to zero, and less than count.

Overview