MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / ToWasmTypes

Interface ToWasmTypes

crates/tinywasm/src/func.rs:588–591  ·  view source on GitHub ↗

Describes the WebAssembly value types produced by a Rust value or tuple shape.

Source from the content-addressed store, hash-verified

586
587/// Describes the WebAssembly value types produced by a Rust value or tuple shape.
588pub trait ToWasmTypes {
589 /// Return the flattened WebAssembly value types for this tuple shape.
590 fn wasm_types() -> Box<[WasmType]>;
591}
592
593/// Describes the WebAssembly value types produced by a scalar Rust type.
594pub trait ToWasmType {

Callers

nothing calls this directly

Implementers 1

func.rscrates/tinywasm/src/func.rs

Calls

no outgoing calls

Tested by

no test coverage detected