Expand description
contains Bitmap
and MutableBitmap
, containers of bool
.
Modules
General utilities for bitmaps representing items where LSB is the first item.
Structs
An immutable container whose API is optimized to handle bitmaps. All quantities on this container’s API are measured in bits.
A container to store booleans. MutableBitmap
is semantically equivalent
to Vec<bool>
, but each value is stored as a single bit, thereby achieving a compression of 8x.
This container is the counterpart of Vec
for boolean values.
MutableBitmap
can be converted to a Bitmap
at O(1)
.
The main difference against Vec<bool>
is that a bitmap cannot be represented as &[bool]
.
Functions
Creates a Vec<u8>
from a TrustedLen
of BitChunk
.
Apply a bitwise operation op
to four inputs and return the result as a Bitmap
.