lib-misc-utils · crate
bit-set
Kinogaki's own bit-set, published under the crates.io name so the frozen naga and wgpu-core resolve to it through [patch.crates-io].
- Repository
- lib-misc-utils (kinogaki/lib-misc-utils)
- Folder
libs/lib-misc-utils/crates/bit-set- Source
- 1 file, 265 lines
- Tests
- 1 file, 84 lines
What it is
Kinogaki's own bit-set, published under the crates.io name so the frozen naga and wgpu-core resolve to it through [patch.crates-io]. It is not upstream bit-set: it has the API those crates call.
BitSet<B> is a set of small usize values stored as a BitVec<B>: value v is present when bit v is set. Inserting grows the vector; removing never shrinks it, so two sets are equal when they hold the same values whatever their vectors' lengths.
Depends on
| Crate | Repository | As | What it is |
|---|---|---|---|
bit-vec | lib-misc-utils | normal | Kinogaki's own bit-vec, published under the crates.io name so the frozen wgpu-core (and our bit-set) resolve to it through [patch.crates-io]. |
Third-party
None.
Used by
None.
Third-party crates using it
Modules
One file: the crate root.
Public types and traits
At the crate root
Structs BitSetIter
