# Trait std::simd::prelude::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` #86656)
Expand description

Parallel `PartialEq`.

## Required Associated Types§

source

#### type Mask

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

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` #86656)

Test if each lane is equal to the corresponding lane in `other`.

source

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

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

Test if each lane is equal to the corresponding lane in `other`.

## Object Safety§

This trait is not object safe.

## Implementors§

source§

### impl<T, const LANES: usize> SimdPartialEq for Simd<*const T, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<isize, LANES>

source§

### impl<T, const LANES: usize> SimdPartialEq for Simd<*mut T, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<isize, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Mask<i8, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<i8, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Mask<i16, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<i16, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Mask<i32, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<i32, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Mask<i64, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<i64, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Mask<isize, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<isize, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<f32, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<f32 as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<f64, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<f64 as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<i8, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<i8 as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<i16, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<i16 as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<i32, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<i32 as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<i64, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<i64 as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<isize, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<isize as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<u8, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<u8 as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<u16, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<u16 as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<u32, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<u32 as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<u64, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<u64 as SimdElement>::Mask, LANES>

source§

### impl<const LANES: usize> SimdPartialEq for Simd<usize, LANES>where LaneCount<LANES>: SupportedLaneCount,

§

#### type Mask = Mask<<usize as SimdElement>::Mask, LANES>