Struct casper_execution_engine::shared::opcode_costs::OpcodeCosts[][src]

pub struct OpcodeCosts {
    pub bit: u32,
    pub add: u32,
    pub mul: u32,
    pub div: u32,
    pub load: u32,
    pub store: u32,
    pub op_const: u32,
    pub local: u32,
    pub global: u32,
    pub control_flow: u32,
    pub integer_comparison: u32,
    pub conversion: u32,
    pub unreachable: u32,
    pub nop: u32,
    pub current_memory: u32,
    pub grow_memory: u32,
    pub regular: u32,
}

Fields

bit: u32

Bit operations multiplier.

add: u32

Arithmetic add operations multiplier.

mul: u32

Mul operations multiplier.

div: u32

Div operations multiplier.

load: u32

Memory load operation multiplier.

store: u32

Memory store operation multiplier.

op_const: u32

Const operation multiplier.

local: u32

Local operations multiplier.

global: u32

Global operations multiplier.

control_flow: u32

Control flow operations multiplier.

integer_comparison: u32

Integer operations multiplier.

conversion: u32

Conversion operations multiplier.

unreachable: u32

Unreachable operation multiplier.

nop: u32

Nop operation multiplier.

current_memory: u32

Get current memory operation multiplier.

grow_memory: u32

Grow memory cost, per page (64kb)

regular: u32

Regular opcode cost

Trait Implementations

impl Clone for OpcodeCosts[src]

impl Copy for OpcodeCosts[src]

impl DataSize for OpcodeCosts[src]

impl Debug for OpcodeCosts[src]

impl Default for OpcodeCosts[src]

impl<'de> Deserialize<'de> for OpcodeCosts[src]

impl Eq for OpcodeCosts[src]

impl FromBytes for OpcodeCosts[src]

impl PartialEq<OpcodeCosts> for OpcodeCosts[src]

impl Serialize for OpcodeCosts[src]

impl StructuralEq for OpcodeCosts[src]

impl StructuralPartialEq for OpcodeCosts[src]

impl ToBytes for OpcodeCosts[src]

Auto Trait Implementations

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> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,