swapAt(_:_:)
Exchange the elements at the two given offsets
Declaration
mutating func swapAt(_ i: OutputSpan<Element>.Index, _ j: OutputSpan<Element>.Index)Parameters
- i:
A valid index into this span.
- j:
A valid index into this span.
Exchange the elements at the two given offsets
mutating func swapAt(_ i: OutputSpan<Element>.Index, _ j: OutputSpan<Element>.Index)A valid index into this span.
A valid index into this span.