Get pointer to where element at `index` would be
(&mut self, index: usize)
| 97 | |
| 98 | /// Get pointer to where element at `index` would be |
| 99 | unsafe fn get_unchecked_ptr(&mut self, index: usize) -> *mut T { |
| 100 | unsafe { self.xs.as_mut_ptr().add(index).cast() } |
| 101 | } |
| 102 | |
| 103 | pub fn insert(&mut self, index: usize, element: T) { |
| 104 | self.try_insert(index, element).unwrap() |
no test coverage detected