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

Method fmt

cranelift/codegen/src/ir/extfunc.rs:121–130  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter)

Source from the content-addressed store, hash-verified

119
120impl fmt::Display for Signature {
121 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
122 write!(f, "(")?;
123 write_list(f, &self.params)?;
124 write!(f, ")")?;
125 if !self.returns.is_empty() {
126 write!(f, " -> ")?;
127 write_list(f, &self.returns)?;
128 }
129 write!(f, " {}", self.call_conv)
130 }
131}
132
133/// Function parameter or return value descriptor.

Callers

nothing calls this directly

Calls 4

write_listFunction · 0.85
OkFunction · 0.85
is_emptyMethod · 0.45
write_strMethod · 0.45

Tested by

no test coverage detected