Expand description
contains Bitmap and MutableBitmap, containers of bool.
Modules§
- utils
- General utilities for bitmaps representing items where LSB is the first item.
Structs§
- Bitmap
- An immutable container semantically equivalent to
Arc<Vec<bool>>but represented asArc<Vec<u8>>where each boolean is represented as a single bit. - Into
Iter - This crates’ equivalent of
std::vec::IntoIterforBitmap. - Mutable
Bitmap - A container of booleans.
MutableBitmapis semantically equivalent toVec<bool>.
Functions§
- and
- Compute bitwise AND operation
- binary
- Apply a bitwise operation
opto two inputs and return the result as aBitmap. - binary_
assign - Apply a bitwise binary operation to a
MutableBitmap. - chunk_
iter_ to_ vec - Creates a
Vec<u8>from aTrustedLenofBitChunk. - from_
chunk_ ⚠iter_ unchecked - Creates a Vec
from an IteratorofBitChunk. - or
- Compute bitwise OR operation
- quaternary
- Apply a bitwise operation
opto four inputs and return the result as aBitmap. - ternary
- Apply a bitwise operation
opto three inputs and return the result as aBitmap. - unary
- Apply a bitwise operation
opto one input and return the result as aBitmap. - unary_
assign - Applies a function to every bit of this
MutableBitmapin chunks - xor
- Compute bitwise XOR operation