Trait bevy_rapier2d::prelude::nalgebra::SimdPartialOrd [−]
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_max(self, other: Self) -> Self
fn simd_max(self, other: Self) -> Self
Lanewise max value.
fn simd_min(self, other: Self) -> Self
fn simd_min(self, other: Self) -> Self
Lanewise min value.
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
.
Implementations on Foreign Types
impl SimdPartialOrd for AutoSimd<[u128; 2]>
impl SimdPartialOrd for AutoSimd<[u128; 2]>
impl SimdPartialOrd for AutoSimd<[u64; 2]>
impl SimdPartialOrd for AutoSimd<[u64; 2]>
impl SimdPartialOrd for AutoSimd<[i16; 16]>
impl SimdPartialOrd for AutoSimd<[i16; 16]>
impl SimdPartialOrd for AutoSimd<[u8; 4]>
impl SimdPartialOrd for AutoSimd<[u8; 4]>
impl SimdPartialOrd for AutoSimd<[f64; 2]>
impl SimdPartialOrd for AutoSimd<[f64; 2]>
impl SimdPartialOrd for AutoSimd<[isize; 2]>
impl SimdPartialOrd for AutoSimd<[isize; 2]>
impl SimdPartialOrd for AutoSimd<[i8; 8]>
impl SimdPartialOrd for AutoSimd<[i8; 8]>
impl SimdPartialOrd for AutoSimd<[u128; 1]>
impl SimdPartialOrd for AutoSimd<[u128; 1]>
impl SimdPartialOrd for AutoSimd<[f32; 2]>
impl SimdPartialOrd for AutoSimd<[f32; 2]>
impl SimdPartialOrd for AutoSimd<[i32; 16]>
impl SimdPartialOrd for AutoSimd<[i32; 16]>
impl SimdPartialOrd for AutoSimd<[u64; 8]>
impl SimdPartialOrd for AutoSimd<[u64; 8]>
impl SimdPartialOrd for AutoSimd<[u16; 4]>
impl SimdPartialOrd for AutoSimd<[u16; 4]>
impl SimdPartialOrd for AutoSimd<[isize; 8]>
impl SimdPartialOrd for AutoSimd<[isize; 8]>
impl SimdPartialOrd for AutoSimd<[i16; 2]>
impl SimdPartialOrd for AutoSimd<[i16; 2]>
impl SimdPartialOrd for AutoSimd<[i8; 4]>
impl SimdPartialOrd for AutoSimd<[i8; 4]>
impl SimdPartialOrd for AutoSimd<[u128; 4]>
impl SimdPartialOrd for AutoSimd<[u128; 4]>
impl SimdPartialOrd for AutoSimd<[i64; 2]>
impl SimdPartialOrd for AutoSimd<[i64; 2]>
impl SimdPartialOrd for AutoSimd<[i16; 8]>
impl SimdPartialOrd for AutoSimd<[i16; 8]>
impl SimdPartialOrd for AutoSimd<[u16; 16]>
impl SimdPartialOrd for AutoSimd<[u16; 16]>
impl SimdPartialOrd for AutoSimd<[u16; 2]>
impl SimdPartialOrd for AutoSimd<[u16; 2]>
impl SimdPartialOrd for AutoSimd<[usize; 8]>
impl SimdPartialOrd for AutoSimd<[usize; 8]>
impl SimdPartialOrd for AutoSimd<[i128; 4]>
impl SimdPartialOrd for AutoSimd<[i128; 4]>
impl SimdPartialOrd for AutoSimd<[u8; 8]>
impl SimdPartialOrd for AutoSimd<[u8; 8]>
impl SimdPartialOrd for AutoSimd<[f32; 4]>
impl SimdPartialOrd for AutoSimd<[f32; 4]>
impl SimdPartialOrd for AutoSimd<[i16; 32]>
impl SimdPartialOrd for AutoSimd<[i16; 32]>
impl SimdPartialOrd for AutoSimd<[usize; 2]>
impl SimdPartialOrd for AutoSimd<[usize; 2]>
impl SimdPartialOrd for AutoSimd<[u8; 32]>
impl SimdPartialOrd for AutoSimd<[u8; 32]>
impl SimdPartialOrd for AutoSimd<[i64; 8]>
impl SimdPartialOrd for AutoSimd<[i64; 8]>
impl SimdPartialOrd for AutoSimd<[u32; 4]>
impl SimdPartialOrd for AutoSimd<[u32; 4]>
impl SimdPartialOrd for AutoSimd<[u32; 8]>
impl SimdPartialOrd for AutoSimd<[u32; 8]>
impl SimdPartialOrd for AutoSimd<[f32; 8]>
impl SimdPartialOrd for AutoSimd<[f32; 8]>
impl SimdPartialOrd for AutoSimd<[u32; 2]>
impl SimdPartialOrd for AutoSimd<[u32; 2]>
impl SimdPartialOrd for AutoSimd<[f64; 8]>
impl SimdPartialOrd for AutoSimd<[f64; 8]>
impl SimdPartialOrd for AutoSimd<[f32; 16]>
impl SimdPartialOrd for AutoSimd<[f32; 16]>
impl SimdPartialOrd for AutoSimd<[u64; 4]>
impl SimdPartialOrd for AutoSimd<[u64; 4]>
impl SimdPartialOrd for AutoSimd<[i128; 1]>
impl SimdPartialOrd for AutoSimd<[i128; 1]>
impl SimdPartialOrd for AutoSimd<[i64; 4]>
impl SimdPartialOrd for AutoSimd<[i64; 4]>
impl SimdPartialOrd for AutoSimd<[i128; 2]>
impl SimdPartialOrd for AutoSimd<[i128; 2]>
impl SimdPartialOrd for AutoSimd<[f64; 4]>
impl SimdPartialOrd for AutoSimd<[f64; 4]>
impl SimdPartialOrd for AutoSimd<[i8; 32]>
impl SimdPartialOrd for AutoSimd<[i8; 32]>
impl SimdPartialOrd for AutoSimd<[i32; 2]>
impl SimdPartialOrd for AutoSimd<[i32; 2]>
impl SimdPartialOrd for AutoSimd<[usize; 4]>
impl SimdPartialOrd for AutoSimd<[usize; 4]>
impl SimdPartialOrd for AutoSimd<[u8; 2]>
impl SimdPartialOrd for AutoSimd<[u8; 2]>
impl SimdPartialOrd for AutoSimd<[u32; 16]>
impl SimdPartialOrd for AutoSimd<[u32; 16]>
impl SimdPartialOrd for AutoSimd<[u16; 32]>
impl SimdPartialOrd for AutoSimd<[u16; 32]>
impl SimdPartialOrd for AutoSimd<[u8; 16]>
impl SimdPartialOrd for AutoSimd<[u8; 16]>
impl SimdPartialOrd for AutoSimd<[i8; 2]>
impl SimdPartialOrd for AutoSimd<[i8; 2]>
impl SimdPartialOrd for AutoSimd<[i32; 8]>
impl SimdPartialOrd for AutoSimd<[i32; 8]>
impl SimdPartialOrd for AutoSimd<[u16; 8]>
impl SimdPartialOrd for AutoSimd<[u16; 8]>
impl SimdPartialOrd for AutoSimd<[i16; 4]>
impl SimdPartialOrd for AutoSimd<[i16; 4]>
impl SimdPartialOrd for AutoSimd<[i32; 4]>
impl SimdPartialOrd for AutoSimd<[i32; 4]>
impl SimdPartialOrd for AutoSimd<[isize; 4]>
impl SimdPartialOrd for AutoSimd<[isize; 4]>
impl SimdPartialOrd for AutoSimd<[i8; 16]>
impl SimdPartialOrd for AutoSimd<[i8; 16]>
Implementors
impl<T> SimdPartialOrd for T where
T: SimdValue<Element = T, SimdBool = bool> + PartialOrd<T>,
impl<T> SimdPartialOrd for T where
T: SimdValue<Element = T, SimdBool = bool> + PartialOrd<T>,
pub fn simd_max(self, other: T) -> T
pub fn simd_min(self, other: T) -> T
pub fn simd_clamp(self, min: T, max: T) -> T
pub fn simd_horizontal_min(self) -> <T as SimdValue>::Element
pub fn simd_horizontal_max(self) -> <T as SimdValue>::Element