MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / bitor_assign

Method bitor_assign

src/entity/small_set.rs:252–257  ·  view source on GitHub ↗
(&mut self, rhs: Self)

Source from the content-addressed store, hash-verified

250{
251 #[inline]
252 fn bitor_assign(&mut self, rhs: Self) {
253 self.storage
254 .iter_mut()
255 .zip(&rhs.storage)
256 .for_each(|(word, other)| *word |= *other);
257 }
258}
259
260impl<T, W, const N: usize> Extend<T> for SmallEntitySet<T, W, N>

Callers

nothing calls this directly

Calls 1

iter_mutMethod · 0.45

Tested by

no test coverage detected