Struct wasmtime_runtime::VMNativeCallFunction
source · pub struct VMNativeCallFunction(/* private fields */);
Expand description
A function pointer that exposes the native calling convention.
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.
This is the default calling convention for the target (e.g. System-V or fast-call) except multiple return values are handled by returning the first return value in a register and everything else through a return-pointer.
Auto Trait Implementations§
impl Freeze for VMNativeCallFunction
impl RefUnwindSafe for VMNativeCallFunction
impl Send for VMNativeCallFunction
impl Sync for VMNativeCallFunction
impl Unpin for VMNativeCallFunction
impl UnwindSafe for VMNativeCallFunction
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