pub trait Swap: Sized {
// Required method
fn swap<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>(
x: &mut V,
y: &mut W
);
}
Expand description
Swaps the content of x
and y
.
Required Methods§
Object Safety§
This trait is not object safe.