Trait simdeez::SimdTransmuteI32
source · pub trait SimdTransmuteI32: Sized {
// Provided methods
fn try_transmute_scalar(&self) -> i32 { ... }
fn try_transmute_from_scalar(_scalar: i32) -> 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§
sourcefn try_transmute_scalar(&self) -> i32
fn try_transmute_scalar(&self) -> i32
Tries to transmute the value into its underlying scalar type. Panics if the value is not a scalar.
sourcefn try_transmute_from_scalar(_scalar: i32) -> Self
fn try_transmute_from_scalar(_scalar: i32) -> Self
Tries to create the value from its underlying scalar type. Panics if the value is not a scalar.
sourcefn try_transmute_sse2(&self) -> __m128i
fn try_transmute_sse2(&self) -> __m128i
Tries to transmute the value into its underlying Sse2 type. Panics if the value is not a Sse2.
sourcefn try_transmute_from_sse2(_sse2: __m128i) -> Self
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.
sourcefn try_transmute_sse41(&self) -> __m128i
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.
sourcefn try_transmute_from_sse41(_sse41: __m128i) -> Self
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.
sourcefn try_transmute_avx2(&self) -> __m256i
fn try_transmute_avx2(&self) -> __m256i
Tries to transmute the value into its underlying Avx2 type. Panics if the value is not a Avx2.
sourcefn try_transmute_from_avx2(_avx2: __m256i) -> Self
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.