Struct wasmtime_environ::Module [−][src]
pub struct Module {
pub signatures: Vec<Signature>,
pub imported_funcs: Vec<(String, String)>,
pub functions: Vec<SignatureIndex>,
pub tables: Vec<Table>,
pub memories: Vec<Memory>,
pub globals: Vec<Global>,
pub exports: HashMap<String, Export>,
pub start_func: Option<FunctionIndex>,
pub table_elements: Vec<TableElements>,
}A translated WebAssembly module, excluding the function bodies and memory initializers.
Fields
signatures: Vec<Signature>
Unprocessed signatures exactly as provided by declare_signature().
imported_funcs: Vec<(String, String)>
Names of imported functions.
functions: Vec<SignatureIndex>
Types of functions, imported and local.
tables: Vec<Table>
WebAssembly tables.
memories: Vec<Memory>
WebAssembly linear memories.
globals: Vec<Global>
WebAssembly global variables.
exports: HashMap<String, Export>
Exported entities.
start_func: Option<FunctionIndex>
The module "start" function, if present.
table_elements: Vec<TableElements>
WebAssembly table initializers.
Methods
impl Module[src]
impl Module