Struct wasmer_compiler::CompileModuleInfo[][src]

pub struct CompileModuleInfo {
    pub features: Features,
    pub module: Arc<ModuleInfo>,
    pub memory_styles: PrimaryMap<MemoryIndex, MemoryStyle>,
    pub table_styles: PrimaryMap<TableIndex, TableStyle>,
}

The required info for compiling a module.

This differs from ModuleInfo because it have extra info only possible after translation (such as the features used for compiling, or the MemoryStyle and TableStyle).

Fields

features: Features

The features used for compiling the module

module: Arc<ModuleInfo>

The module information

memory_styles: PrimaryMap<MemoryIndex, MemoryStyle>

The memory styles used for compiling.

The compiler will emit the most optimal code based on the memory style (static or dynamic) chosen.

table_styles: PrimaryMap<TableIndex, TableStyle>

The table plans used for compiling.

Trait Implementations

impl Debug for CompileModuleInfo[src]

impl<'de> Deserialize<'de> for CompileModuleInfo[src]

impl Serialize for CompileModuleInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.