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

Method insert_all

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

Source from the content-addressed store, hash-verified

177 /// Adds all elements in another set to this one.
178 #[inline(always)]
179 pub fn insert_all(&mut self, other: impl Into<Self>) {
180 self.repr = self.repr | other.into().repr
181 }
182
183 /// Removes all values in another set from this one.
184 #[inline(always)]

Callers 1

extendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected