# Trait std::simd::MaskElement

source ·

    pub unsafe trait MaskElement: SimdElement + Sealed { }

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

Marker trait for types that may be used as SIMD mask elements.

## Safety

Type must be a signed integer.

## Object Safety§

This trait is not object safe.

## Implementors§

source§

### impl MaskElement for i8

source§

### impl MaskElement for i16

source§

### impl MaskElement for i32

source§

### impl MaskElement for i64

source§

### impl MaskElement for isize