rustc_index

Module bit_set

Source

Macros§

Structs§

  • A fixed-size 2D bit matrix type with a dense representation.
  • A fixed-size bitset type with a dense representation.
  • A fixed-size bitset type with a partially dense, partially sparse representation. The bitset is broken into chunks, and chunks that are all zeros or all ones are represented and handled very efficiently.
  • A fixed-sized bitset type represented by an integer type. Indices outwith than the range representable by T are considered set.
  • A resizable bitset type with a dense representation.
  • A fixed-column-size, variable-row-size 2D bit matrix with a moderately sparse representation.

Enums§

  • Chunk πŸ”’
  • ChunkIter πŸ”’
  • A bitset with a mixed representation, using BitSet for small and medium bitsets, and ChunkedBitSet for large bitsets, i.e. those with enough bits for at least two chunks. This is a good choice for many bitsets that can have large domain sizes (e.g. 5000+).

Constants§

Traits§

Functions§

Type Aliases§

  • ChunkSize πŸ”’
    ChunkSize is small to keep Chunk small. The static assertion ensures it’s not too small.
  • Word πŸ”’