SimdPartialEq in std::simd::cmp - Rust (original) (raw)
Trait SimdPartialEq
pub trait SimdPartialEq {
type Mask;
// Required methods
fn simd_eq(self, other: Self) -> Self::Mask;
fn simd_ne(self, other: Self) -> Self::Mask;
}
🔬This is a nightly-only experimental API. (portable_simd
#86656)
Expand description
Parallel PartialEq
.
🔬This is a nightly-only experimental API. (portable_simd
#86656)
The mask type returned by each comparison.
🔬This is a nightly-only experimental API. (portable_simd
#86656)
Test if each element is equal to the corresponding element in other
.
🔬This is a nightly-only experimental API. (portable_simd
#86656)
Test if each element is not equal to the corresponding element in other
.
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.