Struct casper_execution_engine::shared::opcode_costs::OpcodeCosts [−][src]
Fields
bit: u32Bit operations multiplier.
add: u32Arithmetic add operations multiplier.
mul: u32Mul operations multiplier.
div: u32Div operations multiplier.
load: u32Memory load operation multiplier.
store: u32Memory store operation multiplier.
op_const: u32Const operation multiplier.
local: u32Local operations multiplier.
global: u32Global operations multiplier.
control_flow: u32Control flow operations multiplier.
integer_comparsion: u32Integer operations multiplier.
conversion: u32Conversion operations multiplier.
unreachable: u32Unreachable operation multiplier.
nop: u32Nop operation multiplier.
current_memory: u32Get current memory operation multiplier.
grow_memory: u32Grow memory cost, per page (64kb)
regular: u32Regular opcode cost
Trait Implementations
impl Clone for OpcodeCosts[src]
fn clone(&self) -> OpcodeCosts[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for OpcodeCosts[src]
impl DataSize for OpcodeCosts[src]
const IS_DYNAMIC: bool[src]
const STATIC_HEAP_SIZE: usize[src]
fn estimate_heap_size(&self) -> usize[src]
impl Debug for OpcodeCosts[src]
impl Default for OpcodeCosts[src]
impl<'de> Deserialize<'de> for OpcodeCosts[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Eq for OpcodeCosts[src]
impl FromBytes for OpcodeCosts[src]
fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error>[src]
pub fn from_vec(
bytes: Vec<u8, Global>
) -> Result<(Self, Vec<u8, Global>), Error>[src]
bytes: Vec<u8, Global>
) -> Result<(Self, Vec<u8, Global>), Error>
impl PartialEq<OpcodeCosts> for OpcodeCosts[src]
fn eq(&self, other: &OpcodeCosts) -> bool[src]
fn ne(&self, other: &OpcodeCosts) -> bool[src]
impl Serialize for OpcodeCosts[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralEq for OpcodeCosts[src]
impl StructuralPartialEq for OpcodeCosts[src]
impl ToBytes for OpcodeCosts[src]
Auto Trait Implementations
impl RefUnwindSafe for OpcodeCosts[src]
impl Send for OpcodeCosts[src]
impl Sync for OpcodeCosts[src]
impl Unpin for OpcodeCosts[src]
impl UnwindSafe for OpcodeCosts[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone, [src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,