Struct wasmtime_runtime::ExportMemory
source · pub struct ExportMemory {
pub definition: *mut VMMemoryDefinition,
pub vmctx: *mut VMContext,
pub memory: MemoryPlan,
pub index: DefinedMemoryIndex,
}
Expand description
A memory export value.
Fields§
§definition: *mut VMMemoryDefinition
The address of the memory descriptor.
vmctx: *mut VMContext
Pointer to the containing VMContext
.
memory: MemoryPlan
The memory declaration, used for compatibility checking.
index: DefinedMemoryIndex
The index at which the memory is defined within the vmctx
.
Trait Implementations§
source§impl Clone for ExportMemory
impl Clone for ExportMemory
source§fn clone(&self) -> ExportMemory
fn clone(&self) -> ExportMemory
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExportMemory
impl Debug for ExportMemory
source§impl From<ExportMemory> for Export
impl From<ExportMemory> for Export
source§fn from(func: ExportMemory) -> Export
fn from(func: ExportMemory) -> Export
Converts to this type from the input type.