Packed structs in Zig make bit/flag sets trivial
Packed structs in Zig make bit/flag sets trivial

devlog.hexops.com
Packed structs in Zig make bit/flag sets trivial

Bumped into this article about bit-sized booleans in Zig packed structs, thought it might be interesting to others.