pub unsafe fn simd_arith_offset<T, U>(_ptr: T, _offset: U) -> T
🔬This is a nightly-only experimental API. (
core_intrinsics
)Expand description
Calculates the offset from a pointer vector elementwise, potentially wrapping.
T
must be a vector of pointers.
U
must be a vector of isize
or usize
with the same number of elements as T
.
Operates as if by <ptr>::wrapping_offset
.