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

Class Keys

src/entity/iter.rs:12–15  ·  view source on GitHub ↗

Iterate over all keys in order.

Source from the content-addressed store, hash-verified

10
11/// Iterate over all keys in order.
12pub struct Keys<K: EntityRef> {
13 range: Range<usize>,
14 marker: PhantomData<K>,
15}
16
17impl<K: EntityRef> Keys<K> {
18 /// Create a `Keys` iterator that visits `len` entities starting from 0.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected