Consumes this `PrimaryMap` and produces a `BoxedSlice`.
(self)
| 187 | |
| 188 | /// Consumes this `PrimaryMap` and produces a `BoxedSlice`. |
| 189 | pub fn into_boxed_slice(self) -> BoxedSlice<K, V> { |
| 190 | unsafe { BoxedSlice::<K, V>::from_raw(Box::<[V]>::into_raw(self.elems.into_boxed_slice())) } |
| 191 | } |
| 192 | |
| 193 | /// Returns mutable references to many elements at once. |
| 194 | /// |
no outgoing calls