dharitri_vm_executor

Struct OpcodeCost

Source
pub struct OpcodeCost {
Show 128 fields pub opcode_block: u32, pub opcode_br: u32, pub opcode_brif: u32, pub opcode_brtable: u32, pub opcode_call: u32, pub opcode_callindirect: u32, pub opcode_catch: u32, pub opcode_catchall: u32, pub opcode_delegate: u32, pub opcode_drop: u32, pub opcode_else: u32, pub opcode_end: u32, pub opcode_globalget: u32, pub opcode_globalset: u32, pub opcode_i32add: u32, pub opcode_i32and: u32, pub opcode_i32clz: u32, pub opcode_i32const: u32, pub opcode_i32ctz: u32, pub opcode_i32divs: u32, pub opcode_i32divu: u32, pub opcode_i32eq: u32, pub opcode_i32eqz: u32, pub opcode_i32extend16s: u32, pub opcode_i32extend8s: u32, pub opcode_i32ges: u32, pub opcode_i32geu: u32, pub opcode_i32gts: u32, pub opcode_i32gtu: u32, pub opcode_i32les: u32, pub opcode_i32leu: u32, pub opcode_i32load: u32, pub opcode_i32load16s: u32, pub opcode_i32load16u: u32, pub opcode_i32load8s: u32, pub opcode_i32load8u: u32, pub opcode_i32lts: u32, pub opcode_i32ltu: u32, pub opcode_i32mul: u32, pub opcode_i32ne: u32, pub opcode_i32or: u32, pub opcode_i32popcnt: u32, pub opcode_i32rems: u32, pub opcode_i32remu: u32, pub opcode_i32rotl: u32, pub opcode_i32rotr: u32, pub opcode_i32shl: u32, pub opcode_i32shrs: u32, pub opcode_i32shru: u32, pub opcode_i32store: u32, pub opcode_i32store16: u32, pub opcode_i32store8: u32, pub opcode_i32sub: u32, pub opcode_i32wrapi64: u32, pub opcode_i32xor: u32, pub opcode_i64add: u32, pub opcode_i64and: u32, pub opcode_i64clz: u32, pub opcode_i64const: u32, pub opcode_i64ctz: u32, pub opcode_i64divs: u32, pub opcode_i64divu: u32, pub opcode_i64eq: u32, pub opcode_i64eqz: u32, pub opcode_i64extend16s: u32, pub opcode_i64extend32s: u32, pub opcode_i64extend8s: u32, pub opcode_i64extendi32s: u32, pub opcode_i64extendi32u: u32, pub opcode_i64ges: u32, pub opcode_i64geu: u32, pub opcode_i64gts: u32, pub opcode_i64gtu: u32, pub opcode_i64les: u32, pub opcode_i64leu: u32, pub opcode_i64load: u32, pub opcode_i64load16s: u32, pub opcode_i64load16u: u32, pub opcode_i64load32s: u32, pub opcode_i64load32u: u32, pub opcode_i64load8s: u32, pub opcode_i64load8u: u32, pub opcode_i64lts: u32, pub opcode_i64ltu: u32, pub opcode_i64mul: u32, pub opcode_i64ne: u32, pub opcode_i64or: u32, pub opcode_i64popcnt: u32, pub opcode_i64rems: u32, pub opcode_i64remu: u32, pub opcode_i64rotl: u32, pub opcode_i64rotr: u32, pub opcode_i64shl: u32, pub opcode_i64shrs: u32, pub opcode_i64shru: u32, pub opcode_i64store: u32, pub opcode_i64store16: u32, pub opcode_i64store32: u32, pub opcode_i64store8: u32, pub opcode_i64sub: u32, pub opcode_i64xor: u32, pub opcode_if: u32, pub opcode_localget: u32, pub opcode_localset: u32, pub opcode_localtee: u32, pub opcode_localallocate: u32, pub opcode_loop: u32, pub opcode_memorygrow: u32, pub opcode_memorysize: u32, pub opcode_nop: u32, pub opcode_reffunc: u32, pub opcode_refisnull: u32, pub opcode_refnull: u32, pub opcode_rethrow: u32, pub opcode_return: u32, pub opcode_returncall: u32, pub opcode_returncallindirect: u32, pub opcode_select: u32, pub opcode_tableget: u32, pub opcode_tablegrow: u32, pub opcode_tableinit: u32, pub opcode_tableset: u32, pub opcode_tablesize: u32, pub opcode_throw: u32, pub opcode_try: u32, pub opcode_typedselect: u32, pub opcode_unreachable: u32, pub opcode_unwind: u32,
}

Fields§

§opcode_block: u32§opcode_br: u32§opcode_brif: u32§opcode_brtable: u32§opcode_call: u32§opcode_callindirect: u32§opcode_catch: u32§opcode_catchall: u32§opcode_delegate: u32§opcode_drop: u32§opcode_else: u32§opcode_end: u32§opcode_globalget: u32§opcode_globalset: u32§opcode_i32add: u32§opcode_i32and: u32§opcode_i32clz: u32§opcode_i32const: u32§opcode_i32ctz: u32§opcode_i32divs: u32§opcode_i32divu: u32§opcode_i32eq: u32§opcode_i32eqz: u32§opcode_i32extend16s: u32§opcode_i32extend8s: u32§opcode_i32ges: u32§opcode_i32geu: u32§opcode_i32gts: u32§opcode_i32gtu: u32§opcode_i32les: u32§opcode_i32leu: u32§opcode_i32load: u32§opcode_i32load16s: u32§opcode_i32load16u: u32§opcode_i32load8s: u32§opcode_i32load8u: u32§opcode_i32lts: u32§opcode_i32ltu: u32§opcode_i32mul: u32§opcode_i32ne: u32§opcode_i32or: u32§opcode_i32popcnt: u32§opcode_i32rems: u32§opcode_i32remu: u32§opcode_i32rotl: u32§opcode_i32rotr: u32§opcode_i32shl: u32§opcode_i32shrs: u32§opcode_i32shru: u32§opcode_i32store: u32§opcode_i32store16: u32§opcode_i32store8: u32§opcode_i32sub: u32§opcode_i32wrapi64: u32§opcode_i32xor: u32§opcode_i64add: u32§opcode_i64and: u32§opcode_i64clz: u32§opcode_i64const: u32§opcode_i64ctz: u32§opcode_i64divs: u32§opcode_i64divu: u32§opcode_i64eq: u32§opcode_i64eqz: u32§opcode_i64extend16s: u32§opcode_i64extend32s: u32§opcode_i64extend8s: u32§opcode_i64extendi32s: u32§opcode_i64extendi32u: u32§opcode_i64ges: u32§opcode_i64geu: u32§opcode_i64gts: u32§opcode_i64gtu: u32§opcode_i64les: u32§opcode_i64leu: u32§opcode_i64load: u32§opcode_i64load16s: u32§opcode_i64load16u: u32§opcode_i64load32s: u32§opcode_i64load32u: u32§opcode_i64load8s: u32§opcode_i64load8u: u32§opcode_i64lts: u32§opcode_i64ltu: u32§opcode_i64mul: u32§opcode_i64ne: u32§opcode_i64or: u32§opcode_i64popcnt: u32§opcode_i64rems: u32§opcode_i64remu: u32§opcode_i64rotl: u32§opcode_i64rotr: u32§opcode_i64shl: u32§opcode_i64shrs: u32§opcode_i64shru: u32§opcode_i64store: u32§opcode_i64store16: u32§opcode_i64store32: u32§opcode_i64store8: u32§opcode_i64sub: u32§opcode_i64xor: u32§opcode_if: u32§opcode_localget: u32§opcode_localset: u32§opcode_localtee: u32§opcode_localallocate: u32§opcode_loop: u32§opcode_memorygrow: u32§opcode_memorysize: u32§opcode_nop: u32§opcode_reffunc: u32§opcode_refisnull: u32§opcode_refnull: u32§opcode_rethrow: u32§opcode_return: u32§opcode_returncall: u32§opcode_returncallindirect: u32§opcode_select: u32§opcode_tableget: u32§opcode_tablegrow: u32§opcode_tableinit: u32§opcode_tableset: u32§opcode_tablesize: u32§opcode_throw: u32§opcode_try: u32§opcode_typedselect: u32§opcode_unreachable: u32§opcode_unwind: u32

Trait Implementations§

Source§

impl Clone for OpcodeCost

Source§

fn clone(&self) -> OpcodeCost

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 Debug for OpcodeCost

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for OpcodeCost

Source§

fn default() -> OpcodeCost

Returns the “default value” for a type. Read more

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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.