(&mut self, entity: T)
| 121 | /// Inserts an element into the set. |
| 122 | #[inline] |
| 123 | pub fn insert(&mut self, entity: T) { |
| 124 | let idx = Self::index(entity); |
| 125 | self.storage[idx / W::BITS] |= W::bit(idx % W::BITS); |
| 126 | } |
| 127 | |
| 128 | /// Removes an element from the set. |
| 129 | #[inline] |