Glossary: Algorithms Beyond the Basics in Rust
Bitmask / flag
Also written: bitmask, flag, flags
A bitmask is one number whose bits stand for on/off options, and each option is a flag. An order's grind, gift wrap and express choices can all live in one `u32`.