sonic_simd

Trait Mask

Source
pub trait Mask:
    Sized
    + BitOr<Self>
    + BitOrAssign
    + BitAnd<Self> {
    type Element;
    type BitMask: BitMask;

    // Required methods
    fn bitmask(self) -> Self::BitMask;
    fn splat(b: bool) -> Self;
}
Expand description

Portbal SIMD mask traits

Required Associated Types§

Required Methods§

Source

fn bitmask(self) -> Self::BitMask

Source

fn splat(b: bool) -> 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.

Implementors§