Struct wasmer_vm::VMMemoryImport [−][src]
#[repr(C)]pub struct VMMemoryImport { pub definition: NonNull<VMMemoryDefinition>, pub from: Arc<dyn Memory>, }
Expand description
The fields compiled code needs to access to utilize a WebAssembly linear memory imported from another instance.
Fields
definition: NonNull<VMMemoryDefinition>A pointer to the imported memory description.
from: Arc<dyn Memory>A pointer to the Memory that owns the memory description.
Trait Implementations
Returns the size of the referenced value in bytes. Read more
Auto Trait Implementations
impl !RefUnwindSafe for VMMemoryImportimpl !Send for VMMemoryImportimpl !Sync for VMMemoryImportimpl Unpin for VMMemoryImportimpl !UnwindSafe for VMMemoryImportBlanket 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