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

Class Iter

src/entity/small_set.rs:363–371  ·  view source on GitHub ↗

Iterator over the elements in a [`SmallEntitySet`].

Source from the content-addressed store, hash-verified

361
362/// Iterator over the elements in a [`SmallEntitySet`].
363pub struct Iter<T, W, const N: usize>
364where
365 T: EntityRef,
366 W: SmallSetWord,
367{
368 current_word: W,
369 next_index: usize,
370 set: SmallEntitySet<T, W, N>,
371}
372
373impl<T, W, const N: usize> Iterator for Iter<T, W, N>
374where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected