Struct wasmer_vm::VMFunctionImport [−][src]
#[repr(C)]pub struct VMFunctionImport { pub body: *const VMFunctionBody, pub environment: VMFunctionEnvironment, }
Expand description
An imported function.
Fields
body: *const VMFunctionBody
A pointer to the imported function body.
environment: VMFunctionEnvironment
A pointer to the VMContext
that owns the function or host env data.
Trait Implementations
Returns the size of the referenced value in bytes. Read more
Auto Trait Implementations
impl RefUnwindSafe for VMFunctionImport
impl !Send for VMFunctionImport
impl !Sync for VMFunctionImport
impl Unpin for VMFunctionImport
impl UnwindSafe for VMFunctionImport
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more