Struct wasmtime_runtime::VMMemoryDefinition
source · Expand description
The fields compiled code needs to access to utilize a WebAssembly linear memory defined within the instance, namely the start address and the size in bytes.
Fields§
§base: *mut u8
The start address.
current_length: usize
The current logical size of this linear memory in bytes.
Trait Implementations§
source§impl Clone for VMMemoryDefinition
impl Clone for VMMemoryDefinition
source§fn clone(&self) -> VMMemoryDefinition
fn clone(&self) -> VMMemoryDefinition
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 more