lib-misc-utils · crate

bit-set

Libraryenvironment

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
depends onused by tests alonedependencies for tests alone are listed below, not drawn

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

CrateRepositoryAsWhat it is
bit-veclib-misc-utilsnormalKinogaki'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

naga, wgpu-core

Modules

One file: the crate root.

Public types and traits

At the crate root

Structs BitSetIter