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

Method metadata

crates/test/src/lib.rs:1176–1179  ·  view source on GitHub ↗
(mut self, name: &'a str, value: impl fmt::Display)

Source from the content-addressed store, hash-verified

1174 }
1175
1176 fn metadata(mut self, name: &'a str, value: impl fmt::Display) -> Self {
1177 self.metadata.push((name, value.to_string()));
1178 self
1179 }
1180}
1181
1182/// Helper trait for each language to implement which encapsulates

Callers 2

run_codegen_testsMethod · 0.80
run_runtime_testsMethod · 0.80

Calls 2

pushMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected