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§
- BitSet
Strategy - Generates values as a set of bits between the two bounds.
- BitSet
Value Tree - Value tree produced by
BitSetStrategy
andSampledBitSetStrategy
. - Sampled
BitSet Strategy - Generates bit sets with a particular number of bits set.
- VarBit
Set - A bit set is a set of bit flags.
Traits§
- BitSet
Like - Trait for types which can be handled with
BitSetStrategy
.