On this page
Trait std::simd::SimdPartialOrd
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)
Parallel PartialOrd
.
Required Methods
fn simd_lt(self, other: Self) -> Self::Mask
🔬This is a nightly-only experimental API. (
portable_simd
#86656)
Test if each lane is less than the corresponding lane in other
.
fn simd_le(self, other: Self) -> Self::Mask
🔬This is a nightly-only experimental API. (
portable_simd
#86656)
Test if each lane is less than or equal to the corresponding lane in other
.
fn simd_gt(self, other: Self) -> Self::Mask
🔬This is a nightly-only experimental API. (
portable_simd
#86656)
Test if each lane is greater than the corresponding lane in other
.
fn simd_ge(self, other: Self) -> Self::Mask
🔬This is a nightly-only experimental API. (
portable_simd
#86656)
Test if each lane is greater than or equal to the corresponding lane in other
.
Object Safety
This trait is not object safe.
Implementors
impl<T, const LANES: usize> SimdPartialOrd for Simd<*const T, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<T, const LANES: usize> SimdPartialOrd for Simd<*mut T, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Mask<i8, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Mask<i16, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Mask<i32, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Mask<i64, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Mask<isize, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<f32, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<f64, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<i8, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<i16, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<i32, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<i64, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<isize, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<u8, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<u16, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<u32, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<u64, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
impl<const LANES: usize> SimdPartialOrd for Simd<usize, LANES>
where
LaneCount<LANES>: SupportedLaneCount,
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/simd/trait.SimdPartialOrd.html