pub trait Swap {
    fn swap(&self) -> Self;
}

Required methods

Swap x and y

Implementors