fixedbitset
fixedbitset copied to clipboard
Add compatibility with bitvec's `BitSlice` trait
trafficstars
This adds an optional (disabled by default) feature, which when enabled adds an implementation of bitvec's BitSlice trait. It aims to add some cross-compatibility to the two crates, as well as allowing a variety of methods that operate on slices of bits.
The most controversial part here is adding a Deref implementation from FixedBitSet to &BitSlice. I think this is justified though, and there is little overlap between the methods provided by the two crates.