Struct wasmer_runtime_core_fl::module::DataInitializer [−][src]
pub struct DataInitializer { pub memory_index: MemoryIndex, pub base: Initializer, pub data: Vec<u8>, }
Expand description
A data initializer for linear memory.
Fields
memory_index: MemoryIndex
The index of the memory to initialize.
base: Initializer
Either a constant offset or a get_global
data: Vec<u8>
The initialization data.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for DataInitializer
impl Send for DataInitializer
impl Sync for DataInitializer
impl Unpin for DataInitializer
impl UnwindSafe for DataInitializer
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self