[−][src]Struct wasmtime_environ::Module
A translated WebAssembly module, excluding the function bodies and memory initializers.
Fields
id: usizeA unique identifier (within this process) for this module.
local: ModuleLocalLocal information about a module which is the bare minimum necessary to
translate a function body. This is derived as Hash whereas this module
isn't, since it contains too much information needed to translate a
function.
imported_funcs: PrimaryMap<FuncIndex, (String, String, u32)>Names of imported functions, as well as the index of the import that performed this import.
imported_tables: PrimaryMap<TableIndex, (String, String, u32)>Names of imported tables.
imported_memories: PrimaryMap<MemoryIndex, (String, String, u32)>Names of imported memories.
imported_globals: PrimaryMap<GlobalIndex, (String, String, u32)>Names of imported globals.
exports: IndexMap<String, Export>Exported entities.
start_func: Option<FuncIndex>The module "start" function, if present.
table_elements: Vec<TableElements>WebAssembly table initializers.
func_names: HashMap<FuncIndex, String>WebAssembly table initializers.
Methods
impl Module[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,