[−]Trait oxygengine_physics_2d::prelude::ncollide2d::simba::simd::SimdSigned
A lane-wise generalization of num::Signed
for SIMD values.
Required methods
fn simd_abs(&self) -> Self
The absolute value of each lane of self
.
fn simd_abs_sub(&self, other: &Self) -> Self
The absolute difference of each lane of self
.
For each lane, this zero if the lane of self is less than or equal to the corresponding lane of other otherwise the difference between the lane of self and the lane of other is returned.
fn simd_signum(&self) -> Self
The signum of each lane of Self
.
fn is_simd_positive(&self) -> Self::SimdBool
Tests which lane is positive.
fn is_simd_negative(&self) -> Self::SimdBool
Tests which lane is negative.
Implementors
impl<T> SimdSigned for T where
T: SimdValue<SimdBool = bool> + Signed,
T: SimdValue<SimdBool = bool> + Signed,