(&self, index: usize)
| 252 | |
| 253 | #[inline] |
| 254 | pub fn get(&self, index: usize) -> P::Wrapped<'_> { |
| 255 | unsafe { |
| 256 | let backing = slice::from_raw_parts(self.contents, self.count); |
| 257 | P::wrap_raw(&backing[index], &self.context) |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | pub fn iter(&self) -> ArrayIter<P> { |
| 262 | ArrayIter { |
no outgoing calls