Expand description

Strategies for working with bit sets.

Besides BitSet itself, this also defines strategies for all the primitive integer types. These strategies are appropriate for integers which are used as bit flags, etc; e.g., where the most reasonable simplification of 64 is 0 (clearing one bit) and not 63 (clearing one bit but setting 6 others). For integers treated as numeric values, see the corresponding modules of the num module instead.

Modules

Structs

Generates values as a set of bits between the two bounds.

Value tree produced by BitSetStrategy and SampledBitSetStrategy.

Generates bit sets with a particular number of bits set.

Traits

Trait for types which can be handled with BitSetStrategy.