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.
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.