(&self)
| 262 | /// Provides an immutable array view of the interior of the NumPy array. |
| 263 | #[inline(always)] |
| 264 | pub fn as_array(&self) -> ArrayView<'_, T, D> { |
| 265 | // SAFETY: Global borrow flags ensure aliasing discipline. |
| 266 | unsafe { self.array.as_array() } |
| 267 | } |
| 268 | |
| 269 | /// Provide an immutable slice view of the interior of the NumPy array if it is contiguous. |
| 270 | #[inline(always)] |
no outgoing calls