Struct wasmer_pack::Interface
source · pub struct Interface(_);
Expand description
The interface exported by the WebAssembly module.
Implementations§
source§impl Interface
impl Interface
sourcepub fn from_wit(name: &str, src: &str) -> Result<Self, Error>
pub fn from_wit(name: &str, src: &str) -> Result<Self, Error>
Parse an interface definition in the WIT format.
This will not attempt to parse any other files the interface definition depends on.