tibitset
A simple bitset container for Rust, meant to be a replacement for HashSet
Please read the API documentation here
Philosophy
This crate is a fork from fixedbitset with added genericity over its
bit indexing type. It is the same idea like TiVec is for Vec,
a collection which you can use with a custom index type which is not usize.
It's also a nearly-drop-in replacement for HashSet which you can use when you have a limited index space
with mostly full collections.
Usage
[]
= "0.1"
use TiBitSet;
use TryInto;
;
let fb: with_capacity;
fb.set;
assert!;
assert!;
License
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 or the MIT license, at your option. This file may not be copied, modified, or distributed except according to those terms.