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

Method for_name

crates/wiggle/generate/src/codegen_settings.rs:100–102  ·  view source on GitHub ↗
(&self, nt: &NamedType)

Source from the content-addressed store, hash-verified

98 }
99
100 pub fn for_name(&self, nt: &NamedType) -> Option<&ErrorType> {
101 self.m.iter().find(|e| e.abi_type().name == nt.name)
102 }
103}
104
105pub enum ErrorType {

Callers 3

emitMethod · 0.80
for_abi_errorMethod · 0.80
generateFunction · 0.80

Calls 3

abi_typeMethod · 0.80
findMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected