BitArr

Crates.io docs.rs

A fast and efficient Rust implementation of a BitSet, supporting multiple backing stores.

Usage

To use BitArr in your project, add the following to your Cargo.toml:

toml [dependencies] bitarr = "0"

Example

```rust use bitarr::BitSet;

let mut bs = BitSet::from(0u16); bs.set(3); bs.set(7);

asserteq!(bs.get(3), Some(true)); asserteq!(bs.get(7), Some(true)); assert_eq!(bs.get(2), Some(false));

```

Documentation

API documentation can be found on docs.rs.

License

BitArr is distributed under the terms of the MIT license.

See LICENSE for details.