example::simd_nan

Trait SimdNan

Source
pub trait SimdNan: SimdValue {
    // Required methods
    fn simd_nan() -> Self;
    fn simd_is_nan(&self) -> <Self as SimdValue>::SimdBool;
}

Required Methods§

Source

fn simd_nan() -> Self

Source

fn simd_is_nan(&self) -> <Self as SimdValue>::SimdBool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SimdNan for f32

Source§

fn simd_nan() -> Self

Source§

fn simd_is_nan(&self) -> <Self as SimdValue>::SimdBool

Source§

impl SimdNan for WideF32x8

Source§

fn simd_nan() -> Self

Source§

fn simd_is_nan(&self) -> <Self as SimdValue>::SimdBool

Source§

impl<T> SimdNan for Vector3<T>
where T: SimdNan + Scalar + Copy, <T as SimdValue>::Element: Copy + PartialEq + Debug, <T as SimdValue>::SimdBool: SimdValue<Element = bool>,

Source§

fn simd_nan() -> Self

Source§

fn simd_is_nan(&self) -> <Self as SimdValue>::SimdBool

Implementors§