arr-rs 0.6.0

arr-rs - rust arrays library
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub(crate) trait TupleSwap {

    fn swap(self) -> Self;
}

impl <T> TupleSwap for (T, T) {

    fn swap(self) -> Self {
        (self.1, self.0)
    }
}