MCPcopy Create free account
hub / github.com/Lymia/enumset / remove_all

Method remove_all

enumset/src/impl_set_mixed.rs:185–187  ·  view source on GitHub ↗
(&mut self, other: impl Into<Self>)

Source from the content-addressed store, hash-verified

183 /// Removes all values in another set from this one.
184 #[inline(always)]
185 pub fn remove_all(&mut self, other: impl Into<Self>) {
186 self.repr = self.repr.and_not(other.into().repr);
187 }
188}
189
190set_common_impls!(MixedEnumSet, EnumSetTypeWithRepr);

Callers

nothing calls this directly

Calls 1

and_notMethod · 0.80

Tested by

no test coverage detected