Crate bitsetium

Crate bitsetium 

Source
Expand description

bitsetium crate contains traits for common bitset operations, and number of implementations.

Structs§

Complement
Bit-set wrapper that acts like set complement.
Difference
Bit-set wrapper that acts like set complement.
Intersection
Bit-set wrapper that acts like set complement.
Layered
Union
Bit-set wrapper that acts like set complement.

Traits§

BitComplement
Trait to get dual set to the given.
BitDifference
Difference between two subsets.
BitDisjoint
Tests any of the following equivalent properties:
BitEmpty
BitFull
BitIntersection
Intersection of bit-sets.
BitSearch
Search for set its.
BitSet
Sets single bit. This trait should be implemented for all mutable bit-set.
BitSetLimit
Trait to define static limit on set bits.
BitSubset
Tests any of the following equivalent properties:
BitTest
Test single bit. This trait should be implemented for all bit-set.
BitTestAll
Test all bit. This trait should be implemented for most bit-set.
BitTestNone
Test any bit. This trait should be implemented for most bit-set.
BitUnion
Union of bit-sets.
BitUnset
Unset single bit. This trait should be implemented for most mutable bit-set that support resetting bits.
BitUnsetLimit
Trait to define static limit on set bits.
UltimateBitSet
BitSet that supports all operations.

Type Aliases§

Bits1
Bits8
Bits16
Bits32
Bits64
Bits128
Bits256
Bits512
Bits1024
Bits2048
Bits4096
Bits8192
Bits16384
Bits32768
Bits65536
Bits131072
Bits262144
Bits524288
Bits1048576
Bits2097152
Bits4194304
Bits8388608
Bits16777216
Bits33554432
Bits67108864