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

Method insert_all

enumset/src/impl_set.rs:156–158  ·  view source on GitHub ↗
(&mut self, other: Self)

Source from the content-addressed store, hash-verified

154 /// Adds all elements in another set to this one.
155 #[inline(always)]
156 pub fn insert_all(&mut self, other: Self) {
157 self.repr = self.repr | other.repr
158 }
159
160 /// Removes all values in another set from this one.
161 #[inline(always)]

Callers 1

Calls

no outgoing calls

Tested by 1