Struct M3Compilation

Source
#[repr(C)]
pub struct M3Compilation {
Show 23 fields pub runtime: IM3Runtime, pub module: IM3Module, pub wasm: bytes_t, pub wasmEnd: bytes_t, pub block: M3CompilationScope, pub function: IM3Function, pub page: IM3CodePage, pub releasedPatches: IM3BranchPatch, pub numEmits: u32_, pub numOpcodes: u32_, pub firstDynamicStackIndex: u16_, pub stackIndex: u16_, pub firstConstSlotIndex: u16_, pub maxConstSlotIndex: u16_, pub firstLocalSlotIndex: u16_, pub firstDynamicSlotIndex: u16_, pub constants: [m3slot_t; 120], pub wasmStack: [u16_; 2000], pub typeStack: [u8_; 2000], pub m3Slots: [u8_; 4000], pub maxAllocatedSlotPlusOne: u16_, pub regStackIndexPlusOne: [u16_; 2], pub previousOpcode: m3opcode_t,
}

Fields§

§runtime: IM3Runtime§module: IM3Module§wasm: bytes_t§wasmEnd: bytes_t§block: M3CompilationScope§function: IM3Function§page: IM3CodePage§releasedPatches: IM3BranchPatch§numEmits: u32_§numOpcodes: u32_§firstDynamicStackIndex: u16_§stackIndex: u16_§firstConstSlotIndex: u16_§maxConstSlotIndex: u16_§firstLocalSlotIndex: u16_§firstDynamicSlotIndex: u16_§constants: [m3slot_t; 120]§wasmStack: [u16_; 2000]§typeStack: [u8_; 2000]§m3Slots: [u8_; 4000]§maxAllocatedSlotPlusOne: u16_§regStackIndexPlusOne: [u16_; 2]§previousOpcode: m3opcode_t

Trait Implementations§

Source§

impl Clone for M3Compilation

Source§

fn clone(&self) -> M3Compilation

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 M3Compilation

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.