MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / next

Method next

cranelift/entity/src/iter.rs:32–34  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

30 type Item = (K, &'a V);
31
32 fn next(&mut self) -> Option<Self::Item> {
33 self.enumerate.next().map(|(i, v)| (K::new(i), v))
34 }
35
36 fn size_hint(&self) -> (usize, Option<usize>) {
37 self.enumerate.size_hint()

Callers

nothing calls this directly

Calls 2

newFunction · 0.50
mapMethod · 0.45

Tested by

no test coverage detected