(&self, index: Idx)
| 911 | /// Passing an invalid index is undefined behavior. |
| 912 | #[inline(always)] |
| 913 | unsafe fn uget_raw<Idx>(&self, index: Idx) -> *mut T |
| 914 | where |
| 915 | T: Element, |
| 916 | D: Dimension, |
| 917 | Idx: NpyIndex<Dim = D>, |
| 918 | { |
| 919 | let offset = index.get_unchecked::<T>(self.strides()); |
| 920 | self.data().offset(offset) as *mut _ |
| 921 | } |
| 922 | |
| 923 | /// Get a copy of the specified element in the array. |
| 924 | /// |