MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / iter

Method iter

crates/core/src/source.rs:31–33  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

29 }
30
31 pub fn iter(&self) -> impl Iterator<Item = (&'_ str, &'_ [u8])> {
32 self.files.iter().map(|p| (p.0.as_str(), p.1.as_slice()))
33 }
34}
35
36#[derive(Default)]

Callers 15

mainFunction · 0.45
gen_worldFunction · 0.45
mainFunction · 0.45
find_cratesFunction · 0.45
publishFunction · 0.45
runMethod · 0.45
runMethod · 0.45
testMethod · 0.45
testMethod · 0.45
funcsMethod · 0.45
funcMethod · 0.45
print_tyMethod · 0.45

Calls 2

mapMethod · 0.80
as_strMethod · 0.80

Tested by 15

testMethod · 0.36
compileMethod · 0.36
verifyMethod · 0.36
rustcMethod · 0.36
compileMethod · 0.36
runMethod · 0.36
load_runtime_testMethod · 0.36
prepare_languagesMethod · 0.36
all_languagesMethod · 0.36
run_codegen_testsMethod · 0.36
run_runtime_testsMethod · 0.36
runtime_testMethod · 0.36