pub struct ModuleTranslation<'data, 'module> {
    pub isa: &'module dyn TargetIsa,
    pub module: &'module Module,
    pub lazy: LazyContents<'data>,
    pub tunables: Tunables,
}
Expand description

The result of translating via ModuleEnvironment.

Fields§

§isa: &'module dyn TargetIsa

Compilation setting flags.

§module: &'module Module

Module information.

§lazy: LazyContents<'data>

Pointers into the raw data buffer.

§tunables: Tunables

Tunable parameters.

Implementations§

Return a new FuncEnvironment for translating a function.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.