(&self, index: impl NpyIndex<Dim = D>)
| 1488 | |
| 1489 | #[inline(always)] |
| 1490 | unsafe fn get(&self, index: impl NpyIndex<Dim = D>) -> Option<&T> |
| 1491 | where |
| 1492 | T: Element, |
| 1493 | D: Dimension, |
| 1494 | { |
| 1495 | let ptr = get_raw(self, index)?; |
| 1496 | Some(&*ptr) |
| 1497 | } |
| 1498 | |
| 1499 | #[inline(always)] |
| 1500 | unsafe fn get_mut(&self, index: impl NpyIndex<Dim = D>) -> Option<&mut T> |
no test coverage detected