Trait core::simd::SimdCastPtr

source ·
pub unsafe trait SimdCastPtr<T> { }
🔬This is a nightly-only experimental API. (portable_simd #86656)
Expand description

Supporting trait for Simd::cast_ptr. Typically doesn’t need to be used directly.

Safety

Implementing this trait asserts that the type is a valid vector element for the simd_cast_ptr intrinsic.

Implementors§

source§

impl<T, U> SimdCastPtr<T> for *const Uwhere U: Pointee, T: Pointee<Metadata = U::Metadata>,

source§

impl<T, U> SimdCastPtr<T> for *mut Uwhere U: Pointee, T: Pointee<Metadata = U::Metadata>,