Skip to main content

without_provenance

Function without_provenance 

Source
pub fn without_provenance<T, const N: usize>(
    addr: Simd<usize, N>,
) -> Simd<*const T, N>
🔬This is a nightly-only experimental API. (portable_simd)
Expand description

Creates pointers with the given addresses and no provenance.

Equivalent to calling core::ptr::without_provenance on each element.