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

Class Iter

src/entity/iter.rs:52–55  ·  view source on GitHub ↗

Iterator over all the keys and values of an entity map.

Source from the content-addressed store, hash-verified

50
51/// Iterator over all the keys and values of an entity map.
52pub struct Iter<'a, K: EntityRef, V> {
53 enumerate: Enumerate<slice::Iter<'a, V>>,
54 marker: PhantomData<K>,
55}
56
57impl<'a, K: EntityRef, V> Iter<'a, K, V> {
58 /// Create an `Iter` iterator that visits the keys and values of `iter`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected