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§

flag_iter

Structs§

B32
A list of flags up to 32 flags long, or a 32 bit bitfield
B64
A list of flags up to 64 flags long, or a 64 bit bitfield
B128
A list of flags up to 128 flags long, or a 128 bit bitfield
Blong
An arbitrarily long list of flags
Bsize
A list of flags/bitfield up to the size of a pointer

Enums§

FlagLsError
Represents errors that can occur for a FlagLs

Traits§

FlagLs
A trait that represents a list of flags.