Skip to main content

AsSIMD

Trait AsSIMD 

Source
pub trait AsSIMD<T>: Copy
where 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§

Source

fn as_simd(self, arch: T::Arch) -> T

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.

Implementors§

Source§

impl AsSIMD<f16x8> for Emulated<f16, 8>

Source§

impl AsSIMD<f16x16> for Emulated<f16, 16>

Source§

impl AsSIMD<f32x4> for Emulated<f32, 4>

Source§

impl AsSIMD<f32x8> for Emulated<f32, 8>

Source§

impl AsSIMD<i8x16> for Emulated<i8, 16>

Source§

impl AsSIMD<i8x32> for Emulated<i8, 32>

Source§

impl AsSIMD<i16x8> for Emulated<i16, 8>

Source§

impl AsSIMD<i16x16> for Emulated<i16, 16>

Source§

impl AsSIMD<i32x4> for Emulated<i32, 4>

Source§

impl AsSIMD<i32x8> for Emulated<i32, 8>

Source§

impl AsSIMD<u8x16> for Emulated<u8, 16>

Source§

impl AsSIMD<u8x32> for Emulated<u8, 32>

Source§

impl AsSIMD<u32x4> for Emulated<u32, 4>

Source§

impl AsSIMD<u32x8> for Emulated<u32, 8>

Source§

impl AsSIMD<u64x2> for Emulated<u64, 2>

Source§

impl AsSIMD<u64x4> for Emulated<u64, 4>

Source§

impl AsSIMD<f16x8> for Emulated<f16, 8>

Source§

impl AsSIMD<f16x16> for Emulated<f16, 16>

Source§

impl AsSIMD<f32x4> for Emulated<f32, 4>

Source§

impl AsSIMD<f32x8> for Emulated<f32, 8>

Source§

impl AsSIMD<f32x16> for Emulated<f32, 16>

Source§

impl AsSIMD<i8x16> for Emulated<i8, 16>

Source§

impl AsSIMD<i8x32> for Emulated<i8, 32>

Source§

impl AsSIMD<i8x64> for Emulated<i8, 64>

Source§

impl AsSIMD<i16x8> for Emulated<i16, 8>

Source§

impl AsSIMD<i16x16> for Emulated<i16, 16>

Source§

impl AsSIMD<i16x32> for Emulated<i16, 32>

Source§

impl AsSIMD<i32x4> for Emulated<i32, 4>

Source§

impl AsSIMD<i32x8> for Emulated<i32, 8>

Source§

impl AsSIMD<i32x16> for Emulated<i32, 16>

Source§

impl AsSIMD<u8x16> for Emulated<u8, 16>

Source§

impl AsSIMD<u8x32> for Emulated<u8, 32>

Source§

impl AsSIMD<u8x64> for Emulated<u8, 64>

Source§

impl AsSIMD<u32x4> for Emulated<u32, 4>

Source§

impl AsSIMD<u32x8> for Emulated<u32, 8>

Source§

impl AsSIMD<u32x16> for Emulated<u32, 16>

Source§

impl AsSIMD<u64x2> for Emulated<u64, 2>

Source§

impl AsSIMD<u64x4> for Emulated<u64, 4>