Crate packed_flags
source ·Expand description
Provides various packed lists of flags(ie equivalent to Vec<bool>
).
Useful anywhere you are tempted to use Vec<bool>
or [bool]
, but want some amount of memory efficiency
Modules
Structs
- A list of flags up to 32 flags long, or a 32 bit bitfield
- A list of flags up to 64 flags long, or a 64 bit bitfield
- A list of flags up to 128 flags long, or a 128 bit bitfield
- An arbitrarily long list of flags
- A list of flags/bitfield up to the size of a pointer
Enums
- Represents errors that can occur for a
FlagLs
Traits
- A trait that represents a list of flags.