bitflagset - Rust
Skip to main contentCrate bitflagset
Source - atomic_bitflagset
- Generates an atomic bitset wrapper over [
AtomicBitSet]. - bitflag
- Defines a
#[repr(u8)] enum and auto-implements BitFlag,
From<Enum> for u8, and TryFrom<u8>. - bitflagset
- Generates a newtype bitset backed by a primitive integer.
- AtomicBitSet
- Atomic bitset backed by a single atomic primitive or a fixed-size array of atomics.
- AtomicBitSlice
- Unsized shared base for multi-word atomic bitset types.
- AtomicBoxedBitSet
- Heap-allocated atomic bitset with dynamically sized storage.
- BitSet
- Bitset stored in one primitive or a fixed array of primitives.
- BitSlice
- Unsized shared base for all bitset types. Wraps a raw
[T] primitive slice. - BoxedBitSet
- Heap bitset. Methods on
BitSlice panic in every build
when the bit index is outside capacity(). - Drain
- Draining iterator over set bit positions in a
BitSlice. - Flag
- A named flag entry pairing a variant name with its value.
- PrimBitSetIter
- WordSetIter
- Iterator over set bit positions in a word slice.
- AtomicPrimStore
- BitFlag
- A trait for types that represent individual bit flag positions.
- BitFlagSet
- NamedFlags
- Names of the flags in a set generated by
bitflagset!. - PrimStore
- ArrayBitSet
- Backward-compatible alias:
ArrayBitSet<A, V, N> = BitSet<[A; N], V> - ArrayBitSetIntoIter
- Owned iterator over set bit positions in a
BitSet<[T; N], V>. - AtomicArrayBitSet
- BitSliceIter
- Iterator over set bit positions in a
BitSlice. - BoxedBitSetIntoIter
- Owned iterator over set bit positions in a
BoxedBitSet<A, V>.