pub trait GetSimd: Elem {
type Simd<I: Isa>: Simd<Elem = Self, Isa = I>;
}Expand description
Get the Simd implementation from an Isa for a given element type.
For example the type <f32 as GetSimd>::Simd<I> yields I::F32 where
I is an Isa. This trait is used for example by
SimdUnaryOp to determine the type of SIMD vector
that corresponds to the element type.
Required Associated Types§
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.