Function
lrs
::
mem
::
swap
Swaps two objects.
Syntax
fn swap<T>(one: &mut T, two: &mut T) -> ()
Arguments
Name
Description
one
Object one.
two
Object two.