[−][src]Struct wasmer_vm::VMExportFunction
A function export value.
Fields
address: *const VMFunctionBody
The address of the native-code function.
vmctx: VMFunctionEnvironment
Pointer to the containing VMContext
.
signature: FunctionType
The function type, used for compatibility checking.
kind: VMFunctionKind
The function kind (specifies the calling convention for the function).
call_trampoline: Option<VMTrampoline>
Address of the function call trampoline owned by the same VMContext that owns the VMFunctionBody.
May be None
when the function is a host function (FunctionType
== Dynamic
or vmctx
== nullptr
).
instance_allocator: Option<InstanceAllocator>
A “reference” to the instance through the
InstanceAllocator
. None
if it is a host function.
Trait Implementations
impl Clone for VMExportFunction
[src]
pub fn clone(&self) -> VMExportFunction
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VMExportFunction
[src]
impl From<VMExportFunction> for VMExport
[src]
pub fn from(func: VMExportFunction) -> Self
[src]
impl PartialEq<VMExportFunction> for VMExportFunction
[src]
pub fn eq(&self, other: &VMExportFunction) -> bool
[src]
pub fn ne(&self, other: &VMExportFunction) -> bool
[src]
impl Send for VMExportFunction
[src]
Safety
There is no non-threadsafe logic directly in this type. Calling the function may not be threadsafe.
impl StructuralPartialEq for VMExportFunction
[src]
impl Sync for VMExportFunction
[src]
Safety
The members of an VMExportFunction are immutable after construction.
Auto Trait Implementations
impl !RefUnwindSafe for VMExportFunction
impl Unpin for VMExportFunction
impl !UnwindSafe for VMExportFunction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,