Trait rblas::vector::ops::Swap
[−]
[src]
pub trait Swap: Sized { fn swap<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>(x: &mut V, y: &mut W); }
Swaps the content of x
and y
.
Required Methods
fn swap<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>(x: &mut V, y: &mut W)
If they are different lengths, the shorter length is used.