pub unsafe trait SimdCast: SimdElement { }🔬This is a nightly-only experimental API. (
portable_simd)Expand description
Supporting trait for Simd::cast. 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 or
simd_as intrinsics.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.