Struct wasmtime_runtime::VMWasmCallFunction
source · #[repr(transparent)]pub struct VMWasmCallFunction(/* private fields */);
Expand description
A function pointer that exposes the Wasm calling convention.
In practice, different Wasm function types end up mapping to different Rust
function types, so this isn’t simply a type alias the way that
VMArrayCallFunction
is. However, the exact details of the calling
convention are left to the Wasm compiler (e.g. Cranelift or Winch). Runtime
code never does anything with these function pointers except shuffle them
around and pass them back to Wasm.
Auto Trait Implementations§
impl RefUnwindSafe for VMWasmCallFunction
impl Send for VMWasmCallFunction
impl Sync for VMWasmCallFunction
impl Unpin for VMWasmCallFunction
impl UnwindSafe for VMWasmCallFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more