Struct wasmtime_environ::DataInitializerLocation [−][src]
pub struct DataInitializerLocation { pub memory_index: MemoryIndex, pub base: Option<GlobalIndex>, pub offset: usize, }
A memory index and offset within that memory where a data initialization should is to be performed.
Fields
memory_index: MemoryIndex
The index of the memory to initialize.
base: Option<GlobalIndex>
Optionally a globalvar base to initialize at.
offset: usize
A constant offset to initialize at.
Trait Implementations
impl Clone for DataInitializerLocation
[src]
impl Clone for DataInitializerLocation
[src]fn clone(&self) -> DataInitializerLocation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for DataInitializerLocation
[src]
impl<'de> Deserialize<'de> for DataInitializerLocation
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for DataInitializerLocation
[src]
impl Serialize for DataInitializerLocation
[src]