#bit-fields #bitflags #track #index #set #bitfields #unsigned-integer

indexed-bitfield

An indexed bitfield, to track presence or absence of up to 128 elements

2 releases

0.1.1 Oct 19, 2023
0.1.0 Oct 19, 2023

#2103 in Data structures

MIT/Apache

29KB
680 lines

An indexed bitfield

...To be added later...


lib.rs:

This crate is a simple bitfield that can be used to track presence or absence of elements in a known collection of a specified size.

Under the hood it uses unsigned integers. The bits represent presence of absence of elements. No reference to a collection is made explicitly.

Dependencies

~155KB