Struct wasm3_sys::M3Module[][src]

#[repr(C)]
pub struct M3Module {
Show 24 fields pub runtime: *mut M3Runtime, pub environment: *mut M3Environment, pub name: cstr_t, pub numFuncTypes: u32_, pub funcTypes: *mut IM3FuncType, pub numImports: u32_, pub imports: *mut IM3Function, pub numFunctions: u32_, pub functions: *mut M3Function, pub startFunction: i32_, pub numDataSegments: u32_, pub dataSegments: *mut M3DataSegment, pub importedGlobals: u32_, pub numGlobals: u32_, pub globals: *mut M3Global, pub numElementSegments: u32_, pub elementSection: bytes_t, pub elementSectionEnd: bytes_t, pub table0: *mut IM3Function, pub table0Size: u32_, pub memoryInfo: M3MemoryInfo, pub memoryImported: bool, pub hasWasmCodeCopy: bool, pub next: *mut M3Module,
}

Fields

runtime: *mut M3Runtimeenvironment: *mut M3Environmentname: cstr_tnumFuncTypes: u32_funcTypes: *mut IM3FuncTypenumImports: u32_imports: *mut IM3FunctionnumFunctions: u32_functions: *mut M3FunctionstartFunction: i32_numDataSegments: u32_dataSegments: *mut M3DataSegmentimportedGlobals: u32_numGlobals: u32_globals: *mut M3GlobalnumElementSegments: u32_elementSection: bytes_telementSectionEnd: bytes_ttable0: *mut IM3Functiontable0Size: u32_memoryInfo: M3MemoryInfomemoryImported: boolhasWasmCodeCopy: boolnext: *mut M3Module

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Performs the conversion.

Performs the conversion.

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.