(&self, index: impl NpyIndex<Dim = D>)
| 1498 | |
| 1499 | #[inline(always)] |
| 1500 | unsafe fn get_mut(&self, index: impl NpyIndex<Dim = D>) -> Option<&mut T> |
| 1501 | where |
| 1502 | T: Element, |
| 1503 | D: Dimension, |
| 1504 | { |
| 1505 | let ptr = get_raw(self, index)?; |
| 1506 | Some(&mut *ptr) |
| 1507 | } |
| 1508 | |
| 1509 | fn get_owned<Idx>(&self, index: Idx) -> Option<T> |
| 1510 | where |