pub trait SimdIntegerIterExt {
    type Scalar;

    fn scalar_reduce_and(self) -> Option<Self::Scalar>;
    fn scalar_reduce_or(self) -> Option<Self::Scalar>;
    fn scalar_reduce_xor(self) -> Option<Self::Scalar>;
}
Expand description

An extension trait for Iterators over SimdIntegers.

Required Associated Types§

Required Methods§

Returns the bit-wise AND (&) reduction of all the scalars in the iterator.

Returns the bit-wise OR (|) reduction of all the scalars in the iterator.

Returns the bit-wise XOR (^) reduction of all the scalars in the iterator.

Implementors§