Packed structs in Zig make bit/flag sets trivial
if (mask & (WGPUColorWriteMask_Alpha|WGPUColorWriteMask_Blue)) {
    // alpha and blue are set..
}<p>Doesn't this give you if alpha OR blue is set?<p>Errors like this are another reason syntactical sugar for readability is important.