wasmtime_environ::__core::simd::cmp

Trait SimdPartialEq

source
pub trait SimdPartialEq {
    type Mask;

    // Required methods
    fn simd_eq(self, other: Self) -> Self::Mask;
    fn simd_ne(self, other: Self) -> Self::Mask;
}
🔬This is a nightly-only experimental API. (portable_simd)
Expand description

Parallel PartialEq.

Required Associated Types§

source

type Mask

🔬This is a nightly-only experimental API. (portable_simd)

The mask type returned by each comparison.

Required Methods§

source

fn simd_eq(self, other: Self) -> Self::Mask

🔬This is a nightly-only experimental API. (portable_simd)

Test if each element is equal to the corresponding element in other.

source

fn simd_ne(self, other: Self) -> Self::Mask

🔬This is a nightly-only experimental API. (portable_simd)

Test if each element is equal to the corresponding element in other.

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.

Implementors§

source§

impl<T, const N: usize> SimdPartialEq for Simd<*const T, N>

source§

impl<T, const N: usize> SimdPartialEq for Simd<*mut T, N>

source§

impl<const N: usize> SimdPartialEq for Mask<i8, N>

source§

impl<const N: usize> SimdPartialEq for Mask<i16, N>

source§

impl<const N: usize> SimdPartialEq for Mask<i32, N>

source§

impl<const N: usize> SimdPartialEq for Mask<i64, N>

source§

impl<const N: usize> SimdPartialEq for Mask<isize, N>

source§

impl<const N: usize> SimdPartialEq for Simd<f32, N>

source§

impl<const N: usize> SimdPartialEq for Simd<f64, N>

source§

impl<const N: usize> SimdPartialEq for Simd<i8, N>

source§

impl<const N: usize> SimdPartialEq for Simd<i16, N>

source§

impl<const N: usize> SimdPartialEq for Simd<i32, N>

source§

impl<const N: usize> SimdPartialEq for Simd<i64, N>

source§

impl<const N: usize> SimdPartialEq for Simd<isize, N>

source§

impl<const N: usize> SimdPartialEq for Simd<u8, N>

source§

impl<const N: usize> SimdPartialEq for Simd<u16, N>

source§

impl<const N: usize> SimdPartialEq for Simd<u32, N>

source§

impl<const N: usize> SimdPartialEq for Simd<u64, N>

source§

impl<const N: usize> SimdPartialEq for Simd<usize, N>