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

Method fmt

cranelift/codegen/src/isa/call_conv.rs:133–144  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter)

Source from the content-addressed store, hash-verified

131
132impl fmt::Display for CallConv {
133 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
134 f.write_str(match *self {
135 Self::Fast => "fast",
136 Self::Tail => "tail",
137 Self::SystemV => "system_v",
138 Self::WindowsFastcall => "windows_fastcall",
139 Self::AppleAarch64 => "apple_aarch64",
140 Self::Probestack => "probestack",
141 Self::Winch => "winch",
142 Self::PreserveAll => "preserve_all",
143 })
144 }
145}
146
147impl str::FromStr for CallConv {

Callers

nothing calls this directly

Calls 1

write_strMethod · 0.45

Tested by

no test coverage detected