(self)
| 183 | /// that `T` is safely exchangeable for `U`. |
| 184 | #[inline] |
| 185 | fn cast<U: SafelyExchangeable<T>>(self) -> SlimRawSlice<U> { |
| 186 | SlimRawSlice { |
| 187 | ptr: self.ptr.cast(), |
| 188 | len: self.len, |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | /// Split `self` into a raw pointer and the slice length. |
| 193 | #[inline] |
no outgoing calls
no test coverage detected