Trait simba::simd::SimdPartialOrd

source ·
pub trait SimdPartialOrd: SimdValue {
    // Required methods
    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§

source

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

Lanewise greater than > comparison.

source

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

Lanewise less than < comparison.

source

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

Lanewise greater or equal >= comparison.

source

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

Lanewise less or equal <= comparison.

source

fn simd_eq(self, other: Self) -> Self::SimdBool

Lanewise equal == comparison.

source

fn simd_ne(self, other: Self) -> Self::SimdBool

Lanewise not equal != comparison.

source

fn simd_max(self, other: Self) -> Self

Lanewise max value.

source

fn simd_min(self, other: Self) -> Self

Lanewise min value.

source

fn simd_clamp(self, min: Self, max: Self) -> Self

Clamps each lane of self between the corresponding lane of min and max.

source

fn simd_horizontal_min(self) -> Self::Element

The min value among all lanes of self.

source

fn simd_horizontal_max(self) -> Self::Element

The max value among all lanes of self.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl SimdPartialOrd for AutoSimd<[f32; 2]>

source§

impl SimdPartialOrd for AutoSimd<[f32; 4]>

source§

impl SimdPartialOrd for AutoSimd<[f32; 8]>

source§

impl SimdPartialOrd for AutoSimd<[f32; 16]>

source§

impl SimdPartialOrd for AutoSimd<[f64; 2]>

source§

impl SimdPartialOrd for AutoSimd<[f64; 4]>

source§

impl SimdPartialOrd for AutoSimd<[f64; 8]>

source§

impl SimdPartialOrd for AutoSimd<[i8; 2]>

source§

impl SimdPartialOrd for AutoSimd<[i8; 4]>

source§

impl SimdPartialOrd for AutoSimd<[i8; 8]>

source§

impl SimdPartialOrd for AutoSimd<[i8; 16]>

source§

impl SimdPartialOrd for AutoSimd<[i8; 32]>

source§

impl SimdPartialOrd for AutoSimd<[i16; 2]>

source§

impl SimdPartialOrd for AutoSimd<[i16; 4]>

source§

impl SimdPartialOrd for AutoSimd<[i16; 8]>

source§

impl SimdPartialOrd for AutoSimd<[i16; 16]>

source§

impl SimdPartialOrd for AutoSimd<[i16; 32]>

source§

impl SimdPartialOrd for AutoSimd<[i32; 2]>

source§

impl SimdPartialOrd for AutoSimd<[i32; 4]>

source§

impl SimdPartialOrd for AutoSimd<[i32; 8]>

source§

impl SimdPartialOrd for AutoSimd<[i32; 16]>

source§

impl SimdPartialOrd for AutoSimd<[i64; 2]>

source§

impl SimdPartialOrd for AutoSimd<[i64; 4]>

source§

impl SimdPartialOrd for AutoSimd<[i64; 8]>

source§

impl SimdPartialOrd for AutoSimd<[i128; 1]>

source§

impl SimdPartialOrd for AutoSimd<[i128; 2]>

source§

impl SimdPartialOrd for AutoSimd<[i128; 4]>

source§

impl SimdPartialOrd for AutoSimd<[isize; 2]>

source§

impl SimdPartialOrd for AutoSimd<[isize; 4]>

source§

impl SimdPartialOrd for AutoSimd<[isize; 8]>

source§

impl SimdPartialOrd for AutoSimd<[u8; 2]>

source§

impl SimdPartialOrd for AutoSimd<[u8; 4]>

source§

impl SimdPartialOrd for AutoSimd<[u8; 8]>

source§

impl SimdPartialOrd for AutoSimd<[u8; 16]>

source§

impl SimdPartialOrd for AutoSimd<[u8; 32]>

source§

impl SimdPartialOrd for AutoSimd<[u16; 2]>

source§

impl SimdPartialOrd for AutoSimd<[u16; 4]>

source§

impl SimdPartialOrd for AutoSimd<[u16; 8]>

source§

impl SimdPartialOrd for AutoSimd<[u16; 16]>

source§

impl SimdPartialOrd for AutoSimd<[u16; 32]>

source§

impl SimdPartialOrd for AutoSimd<[u32; 2]>

source§

impl SimdPartialOrd for AutoSimd<[u32; 4]>

source§

impl SimdPartialOrd for AutoSimd<[u32; 8]>

source§

impl SimdPartialOrd for AutoSimd<[u32; 16]>

source§

impl SimdPartialOrd for AutoSimd<[u64; 2]>

source§

impl SimdPartialOrd for AutoSimd<[u64; 4]>

source§

impl SimdPartialOrd for AutoSimd<[u64; 8]>

source§

impl SimdPartialOrd for AutoSimd<[u128; 1]>

source§

impl SimdPartialOrd for AutoSimd<[u128; 2]>

source§

impl SimdPartialOrd for AutoSimd<[u128; 4]>

source§

impl SimdPartialOrd for AutoSimd<[usize; 2]>

source§

impl SimdPartialOrd for AutoSimd<[usize; 4]>

source§

impl SimdPartialOrd for AutoSimd<[usize; 8]>

source§

impl SimdPartialOrd for WideF32x4

source§

impl SimdPartialOrd for WideF32x8

source§

impl SimdPartialOrd for WideF64x4

source§

impl<T: PartialOrd + SimdValue<Element = T, SimdBool = bool>> SimdPartialOrd for T