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

Method info

crates/rust/src/interface.rs:2541–2543  ·  view source on GitHub ↗
(&self, ty: TypeId)

Source from the content-addressed store, hash-verified

2539 }
2540
2541 fn info(&self, ty: TypeId) -> TypeInfo {
2542 self.r#gen.types.get(ty)
2543 }
2544
2545 fn print_borrowed_str(&mut self, lifetime: &'static str) {
2546 self.push_str("&");

Callers 7

type_mode_for_idMethod · 0.80
modes_ofMethod · 0.80
print_typedef_recordMethod · 0.80
print_rust_enumMethod · 0.80
print_typedef_enumMethod · 0.80
param_nameMethod · 0.80
result_nameMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected