pub fn toggleSet(self: *Self, toggles: Self) void
Flips all bits in this bit set which are present in the toggles bit set.
self: *Self
toggles: Self
506 507 508 509 510
pub fn toggleSet(self: *Self, toggles: Self) void { for (&self.masks, 0..) |*mask, i| { mask.* ^= toggles.masks[i]; } }
Flips all bits in this bit set which are present in the toggles bit set.