Trait

MutableCollection

A collection that can be mutated in place.

Members

Functions

fun swap_at(_ i: ???, _ j: ???) { inout }

Exchanges the values at the given positions in self.

Subscripts

subscript(_ i: ???): ??? { inout }

Accesses the element at position i.