Struct wasmtime_environ::ModuleTranslation [−][src]
pub struct ModuleTranslation<'data> { pub module: Module, pub function_body_inputs: PrimaryMap<DefinedFuncIndex, FunctionBodyData<'data>>, pub debuginfo: DebugInfoData<'data>, pub has_unparsed_debuginfo: bool, // some fields omitted }
Expand description
The result of translating via ModuleEnvironment
. Function bodies are not
yet translated, and data initializers have not yet been copied out of the
original buffer.
Fields
module: Module
Module information.
function_body_inputs: PrimaryMap<DefinedFuncIndex, FunctionBodyData<'data>>
References to the function bodies.
debuginfo: DebugInfoData<'data>
DWARF debug information, if enabled, parsed from the module.
has_unparsed_debuginfo: bool
Set if debuginfo was found but it was not parsed due to Tunables
configuration.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'data> RefUnwindSafe for ModuleTranslation<'data>
impl<'data> Send for ModuleTranslation<'data>
impl<'data> Sync for ModuleTranslation<'data>
impl<'data> Unpin for ModuleTranslation<'data>
impl<'data> UnwindSafe for ModuleTranslation<'data>