Trait rand::distributions::utils::FloatSIMDUtils
source · pub(crate) trait FloatSIMDUtils {
type Mask;
type UInt;
// Required methods
fn all_lt(self, other: Self) -> bool;
fn all_le(self, other: Self) -> bool;
fn all_finite(self) -> bool;
fn finite_mask(self) -> Self::Mask;
fn gt_mask(self, other: Self) -> Self::Mask;
fn ge_mask(self, other: Self) -> Self::Mask;
fn decrease_masked(self, mask: Self::Mask) -> Self;
fn cast_from_int(i: Self::UInt) -> Self;
}
Expand description
Helper trait when dealing with scalar and SIMD floating point types.
Required Associated Types§
Required Methods§
fn all_lt(self, other: Self) -> bool
fn all_le(self, other: Self) -> bool
fn all_finite(self) -> bool
fn finite_mask(self) -> Self::Mask
fn gt_mask(self, other: Self) -> Self::Mask
fn ge_mask(self, other: Self) -> Self::Mask
fn decrease_masked(self, mask: Self::Mask) -> Self
fn cast_from_int(i: Self::UInt) -> Self
Object Safety§
This trait is not object safe.