Returns a new [KindSet] without the supplied [Kind]. This function is marked `const` to allow creation of const [KindSets][KindSet].
(&self, kind: Kind)
| 115 | /// |
| 116 | /// This function is marked `const` to allow creation of const [KindSets][KindSet]. |
| 117 | pub const fn remove(&self, kind: Kind) -> Self { |
| 118 | Self(self.0 ^ (1 << (kind as u8 & 0b111111))) |
| 119 | } |
| 120 | |
| 121 | /// Check if a [KindSet] contains the subpplied [Kind]. |
| 122 | pub fn contains(&self, kind: Kind) -> bool { |
no outgoing calls
no test coverage detected