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 VMFunctionBodyA pointer to the imported function body.
environment: VMFunctionEnvironmentA 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 VMFunctionImportimpl !Send for VMFunctionImportimpl !Sync for VMFunctionImportimpl Unpin for VMFunctionImportimpl UnwindSafe for VMFunctionImportBlanket 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>::MetadataConverts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more