(
in_ptr: *const T,
out_ptr: *mut T,
len: usize,
)
| 191 | /// - The total size `len * mem::size_of::<T>()` must be no larger than `isize::MAX`. |
| 192 | #[inline(always)] |
| 193 | pub unsafe fn from_raw( |
| 194 | in_ptr: *const T, |
| 195 | out_ptr: *mut T, |
| 196 | len: usize, |
| 197 | ) -> InOutBuf<'inp, 'out, T> { |
| 198 | Self { |
| 199 | in_ptr, |
| 200 | out_ptr, |
| 201 | len, |
| 202 | _pd: PhantomData, |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | /// Divides one buffer into two at `mid` index. |
| 207 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected