Trait basic_dsp_vector::numbers::ToSimd
[−]
[src]
pub trait ToSimd: Sized + Sync + Send { type Reg: Simd<Self> + SimdGeneric<Self> + SimdApproximations<Self> + Copy + Sync + Send + Add<Output = Self::Reg> + Sub<Output = Self::Reg> + Mul<Output = Self::Reg> + Div<Output = Self::Reg> + Zero; type GpuReg: GpuRegTrait; }
Associates a number type with a SIMD register type.
Associated Types
type Reg: Simd<Self> + SimdGeneric<Self> + SimdApproximations<Self> + Copy + Sync + Send + Add<Output = Self::Reg> + Sub<Output = Self::Reg> + Mul<Output = Self::Reg> + Div<Output = Self::Reg> + Zero
Type for the SIMD register on the CPU.
type GpuReg: GpuRegTrait
Type for the SIMD register on the GPU. Defaults to an arbitrary type if GPU support is not compiled in.