Skip to main content

Module bitmap

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.
ClearFrom
A bitmap slice that is the result of (a & !b)
DenseSet
A set which has most values near 0.
FixedBitmapU64
A bitmap of a fixed multiple of 64-bit blocks.
Flipped
A bitmap slice where all bits are flipped compared to the original slice.
GrowingBitmap
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.
BitmapSlice
A read-only bitmap slice.
BitmapSliceMut
A mutable bitmap slice.
ResizableBitmap
A bitmap that can be resized.