[][src]Struct wasmer_runtime_core::module::ModuleInfo

pub struct ModuleInfo {
    pub memories: Map<LocalMemoryIndex, MemoryDescriptor>,
    pub globals: Map<LocalGlobalIndex, GlobalInit>,
    pub tables: Map<LocalTableIndex, TableDescriptor>,
    pub imported_functions: Map<ImportedFuncIndex, ImportName>,
    pub imported_memories: Map<ImportedMemoryIndex, (ImportName, MemoryDescriptor)>,
    pub imported_tables: Map<ImportedTableIndex, (ImportName, TableDescriptor)>,
    pub imported_globals: Map<ImportedGlobalIndex, (ImportName, GlobalDescriptor)>,
    pub exports: HashMap<String, ExportIndex>,
    pub data_initializers: Vec<DataInitializer>,
    pub elem_initializers: Vec<TableInitializer>,
    pub start_func: Option<FuncIndex>,
    pub func_assoc: Map<FuncIndex, SigIndex>,
    pub signatures: Map<SigIndex, Arc<FuncSig>>,
    pub backend: Backend,
    pub namespace_table: StringTable<NamespaceIndex>,
    pub name_table: StringTable<NameIndex>,
}

Fields

memories: Map<LocalMemoryIndex, MemoryDescriptor>globals: Map<LocalGlobalIndex, GlobalInit>tables: Map<LocalTableIndex, TableDescriptor>imported_functions: Map<ImportedFuncIndex, ImportName>imported_memories: Map<ImportedMemoryIndex, (ImportName, MemoryDescriptor)>imported_tables: Map<ImportedTableIndex, (ImportName, TableDescriptor)>imported_globals: Map<ImportedGlobalIndex, (ImportName, GlobalDescriptor)>exports: HashMap<String, ExportIndex>data_initializers: Vec<DataInitializer>elem_initializers: Vec<TableInitializer>start_func: Option<FuncIndex>func_assoc: Map<FuncIndex, SigIndex>signatures: Map<SigIndex, Arc<FuncSig>>backend: Backendnamespace_table: StringTable<NamespaceIndex>name_table: StringTable<NameIndex>

Trait Implementations

impl Clone for ModuleInfo[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'de> Deserialize<'de> for ModuleInfo[src]

impl Serialize for ModuleInfo[src]

Auto Trait Implementations

impl Send for ModuleInfo

impl Sync for ModuleInfo

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T