Skip to main content

array_swap

Function array_swap 

Source
pub unsafe fn array_swap(a: Obj, i: Obj, j: Obj) -> Obj
Expand description

Swaps two elements; does nothing if an index is outside the array.