pub trait AsSIMD<T>: Copywhere
T: SIMDVector,{
// Required method
fn as_simd(self, arch: T::Arch) -> T;
}Expand description
Convert Self to the SIMD type T. This is mainly useful when implementing fallback
operations through crate::Emulated to restore the original SIMD type.
Required Methods§
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.