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

Method insert

crates/rust/src/lib.rs:71–73  ·  view source on GitHub ↗
(&mut self, name: String, generate: TypeGeneration)

Source from the content-addressed store, hash-verified

69 }
70
71 fn insert(&mut self, name: String, generate: TypeGeneration) {
72 self.map.insert(name, generate);
73 }
74
75 fn iter(&self) -> impl Iterator<Item = (&String, &TypeGeneration)> {
76 self.map.iter()

Callers 13

name_interfaceMethod · 0.45
finish_runtime_moduleMethod · 0.45
emit_runtime_itemMethod · 0.45
preprocessMethod · 0.45
import_interfaceMethod · 0.45
export_interfaceMethod · 0.45
import_typesMethod · 0.45
generate_exportsMethod · 0.45
generate_payloadMethod · 0.45
print_typedef_recordMethod · 0.45
print_rust_enumMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected