Remove `k` from this bitset. Returns whether `k` was previously in this set or not.
(&mut self, k: K)
| 166 | /// |
| 167 | /// Returns whether `k` was previously in this set or not. |
| 168 | pub fn remove(&mut self, k: K) -> bool { |
| 169 | let index = k.index(); |
| 170 | self.bitset.remove(index) |
| 171 | } |
| 172 | |
| 173 | /// Removes and returns the highest-index entity from the set if it exists. |
| 174 | pub fn pop(&mut self) -> Option<K> { |