(
in_ptr: *const T,
in_len: usize,
out_ptr: *mut T,
out_len: usize,
)
| 66 | /// `out_len * mem::size_of::<T>()` must be no larger than `isize::MAX`. |
| 67 | #[inline(always)] |
| 68 | pub unsafe fn from_raw( |
| 69 | in_ptr: *const T, |
| 70 | in_len: usize, |
| 71 | out_ptr: *mut T, |
| 72 | out_len: usize, |
| 73 | ) -> Self { |
| 74 | Self { |
| 75 | in_ptr, |
| 76 | out_ptr, |
| 77 | in_len, |
| 78 | out_len, |
| 79 | _pd: PhantomData, |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | /// Get raw input and output pointers. |
| 84 | #[inline(always)] |
nothing calls this directly
no outgoing calls
no test coverage detected