pub trait SimdTransmuteI16: Sized {
    // Provided methods
    fn try_transmute_scalar(&self) -> i16 { ... }
    fn try_transmute_from_scalar(_scalar: i16) -> Self { ... }
    fn try_transmute_sse2(&self) -> __m128i { ... }
    fn try_transmute_from_sse2(_sse2: __m128i) -> Self { ... }
    fn try_transmute_sse41(&self) -> __m128i { ... }
    fn try_transmute_from_sse41(_sse41: __m128i) -> Self { ... }
    fn try_transmute_avx2(&self) -> __m256i { ... }
    fn try_transmute_from_avx2(_avx2: __m256i) -> Self { ... }
}

Provided Methods§

source

fn try_transmute_scalar(&self) -> i16

Tries to transmute the value into its underlying scalar type. Panics if the value is not a scalar.

source

fn try_transmute_from_scalar(_scalar: i16) -> Self

Tries to create the value from its underlying scalar type. Panics if the value is not a scalar.

source

fn try_transmute_sse2(&self) -> __m128i

Tries to transmute the value into its underlying Sse2 type. Panics if the value is not a Sse2.

source

fn try_transmute_from_sse2(_sse2: __m128i) -> Self

Tries to create the value from its underlying Sse2 type. Panics if the value is not a Sse2.

source

fn try_transmute_sse41(&self) -> __m128i

Tries to transmute the value into its underlying Sse4.1 type. Panics if the value is not a Sse4.1.

source

fn try_transmute_from_sse41(_sse41: __m128i) -> Self

Tries to create the value from its underlying Sse4.1 type. Panics if the value is not a Sse4.1.

source

fn try_transmute_avx2(&self) -> __m256i

Tries to transmute the value into its underlying Avx2 type. Panics if the value is not a Avx2.

source

fn try_transmute_from_avx2(_avx2: __m256i) -> Self

Tries to create the value from its underlying Avx2 type. Panics if the value is not a Avx2.

Implementors§