collections::bitset
Part of coil-stdlib. spool projects get it automatically; with plain coil, pass --root ~/.coil/stdlib/src.
Import what you use (use path::* is not allowed):
use collections::bitset::{BitSet, word_mask};
Types#
Functions#
| Name | Description |
|---|---|
word_mask | Mask for bit b in 0..WORD_BITS (1 doubled b times). |
bits_per_word | Bits stored in one int word (sign bit unused). |