pub fn toggle(self: *Self, key: Key) void
Toggles the presence of a key in the set. If the key is in the set, removes it. Otherwise adds it.
self: *Self
key: Key
326 327 328
pub fn toggle(self: *Self, key: Key) void { self.bits.toggle(Indexer.indexOf(key)); }
Toggles the presence of a key in the set. If the key is in the set, removes it. Otherwise adds it.