pub trait SimdMask: Unsigned + Bounded + FromPrimitive {
    fn from_bool(b: bool) -> Self { ... }
}
Expand description

Implemented by unsigned integer types that can represent the result of SIMD comparison elements: semantically, these are booleans, but in their representation, zero is false and any other value is true. Typically, SIMD comparison of two vectors will yield a vector of mask elements, on which you can call reduce_and() or reduce_or().

Provided Methods

Used for fallback code.

Implementations on Foreign Types

Implementors