core::simd::cmp

Trait SimdPartialOrd

source
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§

source

fn simd_lt(self, other: Self) -> Self::Mask

🔬This is a nightly-only experimental API. (portable_simd #86656)

Test if each element is less than the corresponding element in other.

source

fn simd_le(self, other: Self) -> Self::Mask

🔬This is a nightly-only experimental API. (portable_simd #86656)

Test if each element is less than or equal to the corresponding element in other.

source

fn simd_gt(self, other: Self) -> Self::Mask

🔬This is a nightly-only experimental API. (portable_simd #86656)

Test if each element is greater than the corresponding element in other.

source

fn simd_ge(self, other: Self) -> Self::Mask

🔬This is a nightly-only experimental API. (portable_simd #86656)

Test if each element is greater than or equal to the corresponding element in other.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, const N: usize> SimdPartialOrd for Simd<*const T, N>

source§

impl<T, const N: usize> SimdPartialOrd for Simd<*mut T, N>

source§

impl<const N: usize> SimdPartialOrd for Mask<i8, N>

source§

impl<const N: usize> SimdPartialOrd for Mask<i16, N>

source§

impl<const N: usize> SimdPartialOrd for Mask<i32, N>

source§

impl<const N: usize> SimdPartialOrd for Mask<i64, N>

source§

impl<const N: usize> SimdPartialOrd for Mask<isize, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<f32, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<f64, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<i8, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<i16, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<i32, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<i64, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<isize, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<u8, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<u16, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<u32, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<u64, N>

source§

impl<const N: usize> SimdPartialOrd for Simd<usize, N>