Trait palette::bool_mask::HasBoolMask
source · pub trait HasBoolMask {
type Mask: BoolMask;
}
Expand description
Associates a Boolean type to the implementing type.
This is primarily used in traits and functions that can accept SIMD values
and return a Boolean result. SIMD values use masks to select different values for
each lane and HasBoolMask::Mask
can be used to know which type that mask
has.