pub trait BitVecExt {
    fn and(&self, other: &Self) -> Self;
    fn or(&mut self, other: &Self);
    fn not_then_and(&self, other: &Self) -> Self;
    fn from_bool_slice(bools: &[bool]) -> Self;
}
Expand description

Optimized operations.

Assume both bitvecs have the same length.

Required Methods§

self & other

self |= other

!self & other

Creates a BitVec from &[bool].

Implementations on Foreign Types§

Implementors§