pub trait Host {
// Required method
fn call(
&mut self,
store: &mut Store,
id: u32,
args: &[Val],
) -> Result<Vec<Val>, Trap>;
}Expand description
取り込みの関数の呼び出し先(JS の関数など)。
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".