Get the single element of a zero-dimensional array. See [`inner`][crate::inner] for an example.
(&self)
| 1342 | /// |
| 1343 | /// See [`inner`][crate::inner] for an example. |
| 1344 | fn item(&self) -> T |
| 1345 | where |
| 1346 | T: Element + Copy, |
| 1347 | { |
| 1348 | unsafe { *self.data() } |
| 1349 | } |
| 1350 | } |
| 1351 | |
| 1352 | #[inline(always)] |