Trait std::simd::SimdCastPtr

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

支持 Simd::cast_ptr 的 trait。通常不需要直接使用。

Safety

实现此 trait 断言该类型是 simd_cast_ptr 内部函数的有效 vector 元素。

Implementors§

source§

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

source§

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