(&mut self, a: usize, b: usize)
| 747 | |
| 748 | #[inline] |
| 749 | pub fn swap_flat(&mut self, a: usize, b: usize) -> bool { |
| 750 | if a >= Self::flat_len() || b >= Self::flat_len() { |
| 751 | return false; |
| 752 | } |
| 753 | self.as_mut_slice().swap(a, b); |
| 754 | true |
| 755 | } |
| 756 | |
| 757 | #[inline] |
| 758 | pub fn to_vec(&self) -> Vec<T> |
nothing calls this directly
no test coverage detected