Struct wasmtime_environ::ModuleTranslation
source · [−]pub struct ModuleTranslation<'data> {
pub module: Module,
pub function_body_inputs: PrimaryMap<DefinedFuncIndex, FunctionBodyData<'data>>,
pub data_initializers: Vec<DataInitializer<'data>>,
pub debuginfo: DebugInfoData<'data>,
pub has_unparsed_debuginfo: bool,
/* private fields */
}
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.
data_initializers: Vec<DataInitializer<'data>>
References to the data initializers.
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
sourceimpl<'data> Default for ModuleTranslation<'data>
impl<'data> Default for ModuleTranslation<'data>
sourcefn default() -> ModuleTranslation<'data>
fn default() -> ModuleTranslation<'data>
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>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more