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 VMMemoryDefinitionThe address of the memory descriptor.
vmctx: *mut VMContextPointer to the containing VMContext.
memory: MemoryPlanThe memory declaration, used for compatibility checking.
index: DefinedMemoryIndexThe 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.
impl Send for ExportMemory
impl Sync for ExportMemory
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more