Trait simba::simd::SimdPartialOrd [−][src]
pub trait SimdPartialOrd: SimdValue { fn simd_gt(self, other: Self) -> Self::SimdBool; fn simd_lt(self, other: Self) -> Self::SimdBool; fn simd_ge(self, other: Self) -> Self::SimdBool; fn simd_le(self, other: Self) -> Self::SimdBool; fn simd_eq(self, other: Self) -> Self::SimdBool; fn simd_ne(self, other: Self) -> Self::SimdBool; fn simd_max(self, other: Self) -> Self; fn simd_min(self, other: Self) -> Self; fn simd_clamp(self, min: Self, max: Self) -> Self; fn simd_horizontal_min(self) -> Self::Element; fn simd_horizontal_max(self) -> Self::Element; }
Expand description
Lane-wise generalization of the standard PartialOrd for SIMD values.
Required methods
fn simd_clamp(self, min: Self, max: Self) -> Self
fn simd_clamp(self, min: Self, max: Self) -> Self
Clamps each lane of self between the corresponding lane of min and max.
fn simd_horizontal_min(self) -> Self::Element
fn simd_horizontal_min(self) -> Self::Element
The min value among all lanes of self.
fn simd_horizontal_max(self) -> Self::Element
fn simd_horizontal_max(self) -> Self::Element
The max value among all lanes of self.