Expand description
contains Bitmap
and MutableBitmap
, containers of bool
.
Re-exports§
pub use iterator::IntoIter;
Modules§
- General utilities for bitmaps representing items where LSB is the first item.
Structs§
- An immutable container semantically equivalent to
Arc<Vec<bool>>
but represented asArc<Vec<u8>>
where each boolean is represented as a single bit. - Used to build bitmaps bool-by-bool in sequential order.
- A container of booleans.
MutableBitmap
is semantically equivalent toVec<bool>
.
Functions§
- Compute bitwise A AND B operation.
- Compute bitwise A AND NOT B operation.
- Apply a bitwise operation
op
to two inputs and return the result as aBitmap
. - Apply a bitwise binary operation to a
MutableBitmap
. - Apply a bitwise binary operation to a
MutableBitmap
. - Apply a bitwise operation
op
to two inputs and fold the result. - Apply a bitwise operation
op
to two inputs and fold the result. - Compute bitwise A OR B operation.
- Compute bitwise A OR NOT B operation.
- Apply a bitwise operation
op
to four inputs and return the result as aBitmap
. - Compute
out[i] = if selector[i] { truthy[i] } else { falsy[i] }
. - Compute
out[i] = if selector[i] { truthy[i] } else { falsy }
. - Apply a bitwise operation
op
to three inputs and return the result as aBitmap
. - Apply a bitwise operation
op
to one input and return the result as aBitmap
. - Applies a function to every bit of this
MutableBitmap
in chunks - Compute bitwise XOR operation.