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.
impl Send for ExportMemory
impl Sync for ExportMemory
Auto Trait Implementations§
impl Freeze for ExportMemory
impl RefUnwindSafe for ExportMemory
impl Unpin for ExportMemory
impl UnwindSafe for ExportMemory
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)