[][src]Struct wasm3_sys::M3Runtime

#[repr(C)]pub struct M3Runtime {
    pub compilation: M3Compilation,
    pub environment: IM3Environment,
    pub pagesOpen: *mut M3CodePage,
    pub pagesFull: *mut M3CodePage,
    pub numCodePages: u32,
    pub numActiveCodePages: u32,
    pub modules: IM3Module,
    pub stack: *mut c_void,
    pub stackSize: u32,
    pub numStackSlots: u32,
    pub argc: u32,
    pub argv: *mut ccstr_t,
    pub runtimeError: M3Result,
    pub memory: M3Memory,
    pub memoryLimit: u32,
    pub error: M3ErrorInfo,
    pub error_message: [c_char; 256],
    pub exit_code: i32,
}

Fields

compilation: M3Compilationenvironment: IM3EnvironmentpagesOpen: *mut M3CodePagepagesFull: *mut M3CodePagenumCodePages: u32numActiveCodePages: u32modules: IM3Modulestack: *mut c_voidstackSize: u32numStackSlots: u32argc: u32argv: *mut ccstr_truntimeError: M3Resultmemory: M3MemorymemoryLimit: u32error: M3ErrorInfoerror_message: [c_char; 256]exit_code: i32

Auto Trait Implementations

impl !Send for M3Runtime

impl !Sync for M3Runtime

impl Unpin for M3Runtime

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> 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.