pub trait BitVec: Copy + Debug + Binary + Default + Add + Sub + BitOr + BitOrAssign + BitAnd + BitXor + Not + Shl<usize> + ShlAssign<usize> + ShrAssign<usize> + PrimInt + WrappingAdd + ToPrimitive + FromPrimitive + AsPrimitive<usize> + AsPrimitive<i64> {
type DistType: DistType;
}
Expand description
This trait must be implemented for integer types serving as bit vectors. Only unsigned integers will work correctly.