(&self)
| 259 | } |
| 260 | |
| 261 | pub fn iter(&self) -> ArrayIter<P> { |
| 262 | ArrayIter { |
| 263 | it: unsafe { slice::from_raw_parts(self.contents, self.count).iter() }, |
| 264 | context: &self.context, |
| 265 | } |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | unsafe impl<P> Sync for Array<P> |
no outgoing calls