pub trait SimdPartialOrd: SimdPartialEq {
// Required methods
fn simd_lt(self, other: Self) -> Self::Mask;
fn simd_le(self, other: Self) -> Self::Mask;
fn simd_gt(self, other: Self) -> Self::Mask;
fn simd_ge(self, other: Self) -> Self::Mask;
}🔬This is a nightly-only experimental API. (
portable_simd #86656)Expand description
Parallel PartialOrd.
Required Methods§
Sourcefn simd_lt(self, other: Self) -> Self::Mask
🔬This is a nightly-only experimental API. (portable_simd #86656)
fn simd_lt(self, other: Self) -> Self::Mask
portable_simd #86656)Test if each element is less than the corresponding element in other.
Sourcefn simd_le(self, other: Self) -> Self::Mask
🔬This is a nightly-only experimental API. (portable_simd #86656)
fn simd_le(self, other: Self) -> Self::Mask
portable_simd #86656)Test if each element is less than or equal to the corresponding element in other.
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.