Trait lnkit::prelude::SimdPartialOrd[]

pub trait SimdPartialOrd: SimdValue {
    pub fn simd_gt(self, other: Self) -> Self::SimdBool;
pub fn simd_lt(self, other: Self) -> Self::SimdBool;
pub fn simd_ge(self, other: Self) -> Self::SimdBool;
pub fn simd_le(self, other: Self) -> Self::SimdBool;
pub fn simd_eq(self, other: Self) -> Self::SimdBool;
pub fn simd_ne(self, other: Self) -> Self::SimdBool;
pub fn simd_max(self, other: Self) -> Self;
pub fn simd_min(self, other: Self) -> Self;
pub fn simd_clamp(self, min: Self, max: Self) -> Self;
pub fn simd_horizontal_min(self) -> Self::Element;
pub fn simd_horizontal_max(self) -> Self::Element; }

Lane-wise generalization of the standard PartialOrd for SIMD values.

Required methods

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

Lanewise greater than > comparison.

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

Lanewise less than < comparison.

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

Lanewise greater or equal >= comparison.

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

Lanewise less or equal <= comparison.

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

Lanewise equal == comparison.

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

Lanewise not equal != comparison.

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

Lanewise max value.

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

Lanewise min value.

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

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

pub fn simd_horizontal_min(self) -> Self::Element

The min value among all lanes of self.

pub fn simd_horizontal_max(self) -> Self::Element

The max value among all lanes of self.

Loading content...

Implementations on Foreign Types

impl SimdPartialOrd for Simd<Simd<[usize; 4]>>

impl SimdPartialOrd for AutoSimd<[f32; 2]>

impl SimdPartialOrd for AutoSimd<[isize; 2]>

impl SimdPartialOrd for Simd<Simd<[u16; 4]>>

impl SimdPartialOrd for Simd<Simd<[u128; 4]>>

impl SimdPartialOrd for AutoSimd<[u32; 2]>

impl SimdPartialOrd for AutoSimd<[f64; 4]>

impl SimdPartialOrd for AutoSimd<[u16; 8]>

impl SimdPartialOrd for Simd<Simd<[u8; 16]>>

impl SimdPartialOrd for Simd<Simd<[u32; 8]>>

impl SimdPartialOrd for Simd<Simd<[u8; 2]>>

impl SimdPartialOrd for Simd<Simd<[u16; 32]>>

impl SimdPartialOrd for Simd<Simd<[i16; 4]>>

impl SimdPartialOrd for Simd<Simd<[i32; 4]>>

impl SimdPartialOrd for Simd<Simd<[i16; 2]>>

impl SimdPartialOrd for AutoSimd<[u64; 8]>

impl SimdPartialOrd for Simd<Simd<[usize; 2]>>

impl SimdPartialOrd for AutoSimd<[i64; 2]>

impl SimdPartialOrd for AutoSimd<[i8; 4]>

impl SimdPartialOrd for AutoSimd<[i32; 8]>

impl SimdPartialOrd for AutoSimd<[u64; 4]>

impl SimdPartialOrd for Simd<Simd<[i16; 32]>>

impl SimdPartialOrd for Simd<Simd<[f32; 16]>>

impl SimdPartialOrd for Simd<Simd<[usize; 8]>>

impl SimdPartialOrd for Simd<Simd<[i16; 16]>>

impl SimdPartialOrd for AutoSimd<[i16; 8]>

impl SimdPartialOrd for AutoSimd<[isize; 8]>

impl SimdPartialOrd for AutoSimd<[u16; 2]>

impl SimdPartialOrd for Simd<Simd<[i128; 2]>>

impl SimdPartialOrd for AutoSimd<[f32; 4]>

impl SimdPartialOrd for AutoSimd<[f64; 2]>

impl SimdPartialOrd for Simd<Simd<[isize; 8]>>

impl SimdPartialOrd for Simd<Simd<[i32; 2]>>

impl SimdPartialOrd for AutoSimd<[u128; 1]>

impl SimdPartialOrd for Simd<Simd<[i128; 4]>>

impl SimdPartialOrd for Simd<Simd<[i8; 16]>>

impl SimdPartialOrd for AutoSimd<[i128; 2]>

impl SimdPartialOrd for AutoSimd<[i16; 2]>

impl SimdPartialOrd for Simd<Simd<[i8; 2]>>

impl SimdPartialOrd for Simd<Simd<[i16; 8]>>

impl SimdPartialOrd for Simd<Simd<[u8; 32]>>

impl SimdPartialOrd for Simd<Simd<[u64; 4]>>

impl SimdPartialOrd for AutoSimd<[i8; 32]>

impl SimdPartialOrd for Simd<Simd<[isize; 2]>>

impl SimdPartialOrd for Simd<Simd<[i64; 2]>>

impl SimdPartialOrd for Simd<Simd<[i128; 1]>>

impl SimdPartialOrd for AutoSimd<[u16; 16]>

impl SimdPartialOrd for AutoSimd<[i128; 1]>

impl SimdPartialOrd for AutoSimd<[f32; 8]>

impl SimdPartialOrd for Simd<Simd<[i8; 32]>>

impl SimdPartialOrd for AutoSimd<[u16; 32]>

impl SimdPartialOrd for AutoSimd<[i32; 2]>

impl SimdPartialOrd for Simd<Simd<[i8; 4]>>

impl SimdPartialOrd for AutoSimd<[u32; 16]>

impl SimdPartialOrd for AutoSimd<[isize; 4]>

impl SimdPartialOrd for AutoSimd<[i32; 16]>

impl SimdPartialOrd for Simd<Simd<[i64; 8]>>

impl SimdPartialOrd for Simd<Simd<[f64; 8]>>

impl SimdPartialOrd for AutoSimd<[i64; 4]>

impl SimdPartialOrd for Simd<Simd<[u128; 2]>>

impl SimdPartialOrd for AutoSimd<[u64; 2]>

impl SimdPartialOrd for Simd<Simd<[u16; 16]>>

impl SimdPartialOrd for Simd<Simd<[f32; 2]>>

impl SimdPartialOrd for AutoSimd<[i128; 4]>

impl SimdPartialOrd for AutoSimd<[i8; 16]>

impl SimdPartialOrd for AutoSimd<[f32; 16]>

impl SimdPartialOrd for Simd<Simd<[u8; 64]>>

impl SimdPartialOrd for AutoSimd<[u128; 2]>

impl SimdPartialOrd for Simd<Simd<[i8; 8]>>

impl SimdPartialOrd for Simd<Simd<[u16; 8]>>

impl SimdPartialOrd for AutoSimd<[u128; 4]>

impl SimdPartialOrd for AutoSimd<[i8; 2]>

impl SimdPartialOrd for AutoSimd<[u8; 8]>

impl SimdPartialOrd for Simd<Simd<[u8; 4]>>

impl SimdPartialOrd for Simd<Simd<[f64; 2]>>

impl SimdPartialOrd for Simd<Simd<[i8; 64]>>

impl SimdPartialOrd for AutoSimd<[usize; 2]>

impl SimdPartialOrd for Simd<Simd<[u32; 16]>>

impl SimdPartialOrd for AutoSimd<[u16; 4]>

impl SimdPartialOrd for Simd<Simd<[i32; 8]>>

impl SimdPartialOrd for AutoSimd<[usize; 8]>

impl SimdPartialOrd for Simd<Simd<[f64; 4]>>

impl SimdPartialOrd for Simd<Simd<[isize; 4]>>

impl SimdPartialOrd for Simd<Simd<[u64; 8]>>

impl SimdPartialOrd for AutoSimd<[u8; 2]>

impl SimdPartialOrd for AutoSimd<[u8; 4]>

impl SimdPartialOrd for Simd<Simd<[u32; 4]>>

impl SimdPartialOrd for AutoSimd<[i64; 8]>

impl SimdPartialOrd for AutoSimd<[f64; 8]>

impl SimdPartialOrd for AutoSimd<[i16; 4]>

impl SimdPartialOrd for Simd<Simd<[u16; 2]>>

impl SimdPartialOrd for AutoSimd<[i32; 4]>

impl SimdPartialOrd for AutoSimd<[u8; 16]>

impl SimdPartialOrd for AutoSimd<[u32; 8]>

impl SimdPartialOrd for AutoSimd<[u32; 4]>

impl SimdPartialOrd for Simd<Simd<[u64; 2]>>

impl SimdPartialOrd for Simd<Simd<[i32; 16]>>

impl SimdPartialOrd for Simd<Simd<[i64; 4]>>

impl SimdPartialOrd for AutoSimd<[i8; 8]>

impl SimdPartialOrd for AutoSimd<[i16; 32]>

impl SimdPartialOrd for AutoSimd<[u8; 32]>

impl SimdPartialOrd for AutoSimd<[usize; 4]>

impl SimdPartialOrd for Simd<Simd<[u8; 8]>>

impl SimdPartialOrd for Simd<Simd<[f32; 8]>>

impl SimdPartialOrd for AutoSimd<[i16; 16]>

impl SimdPartialOrd for Simd<Simd<[f32; 4]>>

impl SimdPartialOrd for Simd<Simd<[u128; 1]>>

impl SimdPartialOrd for Simd<Simd<[u32; 2]>>

Loading content...

Implementors

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

Loading content...