Module bitmap
Expand description
Memory-efficient implementations of 1D bitmaps.
Structs§
- AllOnes
- A read-only bitmap filled with only ones
- AllZeros
- A read-only bitmap filled with only zeros
- AndWith
- A bitmap slice that is the result of ANDing two slices.
- Clear
From - A bitmap slice that is the result of
(a & !b) - Dense
Set - A set which has most values near 0.
- Fixed
Bitmap U64 - A bitmap of a fixed multiple of 64-bit blocks.
- Flipped
- A bitmap slice where all bits are flipped compared to the original slice.
- Growing
Bitmap - A bitmap that is automatically resized whenever an element higher than the maximum capacity of the bitmap is set.
Newly added bits are initialized to
0(unset). - OrWith
- A bitmap slice that is the result of ORing two slices.
- XorWith
- A bitmap slice that is the result of XORing two slices.
Traits§
- Bitmap
- A writable bitmap.
- Bitmap
Slice - A read-only bitmap slice.
- Bitmap
Slice Mut - A mutable bitmap slice.
- Resizable
Bitmap - A bitmap that can be resized.