MCPcopy Create free account
hub / github.com/bluejekyll/wasmtime-java / fmt

Method fmt

wasmtime-jni/src/wasm_value.rs:186–193  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter)

Source from the content-addressed store, hash-verified

184
185impl fmt::Display for WasmTy {
186 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
187 match self {
188 WasmTy::ByteBuffer => write!(f, "ByteBuffer"),
189 WasmTy::ByteArray => write!(f, "byte[]"),
190 WasmTy::String => write!(f, "String"),
191 WasmTy::ValType(val) => val.fmt(f),
192 }
193 }
194}
195
196pub(crate) enum WasmVal<'j> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected