Struct M3Module

Source
#[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 M3Runtime§environment: *mut M3Environment§name: cstr_t§numFuncTypes: u32_§funcTypes: *mut IM3FuncType§numImports: u32_§imports: *mut IM3Function§numFunctions: u32_§functions: *mut M3Function§startFunction: i32_§numDataSegments: u32_§dataSegments: *mut M3DataSegment§importedGlobals: u32_§numGlobals: u32_§globals: *mut M3Global§numElementSegments: u32_§elementSection: bytes_t§elementSectionEnd: bytes_t§table0: *mut IM3Function§table0Size: u32_§memoryInfo: M3MemoryInfo§memoryImported: bool§hasWasmCodeCopy: bool§next: *mut M3Module

Trait Implementations§

Source§

impl Clone for M3Module

Source§

fn clone(&self) -> M3Module

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for M3Module

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.