pub trait SimdMask:
Sized
+ Copy
+ Debug
+ Send
+ Sync
+ BitAnd<Self, Output = Self>
+ BitOr<Self, Output = Self> {
type Descriptor: SimdDescriptor;
// Required methods
fn if_then_else_f32(
self,
if_true: <<Self as SimdMask>::Descriptor as SimdDescriptor>::F32Vec,
if_false: <<Self as SimdMask>::Descriptor as SimdDescriptor>::F32Vec,
) -> <<Self as SimdMask>::Descriptor as SimdDescriptor>::F32Vec;
fn if_then_else_i32(
self,
if_true: <<Self as SimdMask>::Descriptor as SimdDescriptor>::I32Vec,
if_false: <<Self as SimdMask>::Descriptor as SimdDescriptor>::I32Vec,
) -> <<Self as SimdMask>::Descriptor as SimdDescriptor>::I32Vec;
fn maskz_i32(
self,
v: <<Self as SimdMask>::Descriptor as SimdDescriptor>::I32Vec,
) -> <<Self as SimdMask>::Descriptor as SimdDescriptor>::I32Vec;
fn all(self) -> bool;
fn andnot(self, rhs: Self) -> Self;
}Required Associated Types§
Required Methods§
fn if_then_else_f32( self, if_true: <<Self as SimdMask>::Descriptor as SimdDescriptor>::F32Vec, if_false: <<Self as SimdMask>::Descriptor as SimdDescriptor>::F32Vec, ) -> <<Self as SimdMask>::Descriptor as SimdDescriptor>::F32Vec
fn if_then_else_i32( self, if_true: <<Self as SimdMask>::Descriptor as SimdDescriptor>::I32Vec, if_false: <<Self as SimdMask>::Descriptor as SimdDescriptor>::I32Vec, ) -> <<Self as SimdMask>::Descriptor as SimdDescriptor>::I32Vec
fn maskz_i32( self, v: <<Self as SimdMask>::Descriptor as SimdDescriptor>::I32Vec, ) -> <<Self as SimdMask>::Descriptor as SimdDescriptor>::I32Vec
fn all(self) -> bool
fn andnot(self, rhs: Self) -> Self
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.