[][src]Struct casperlabs_engine_grpc_server::engine_server::ipc::ChainSpec_CostTable_WasmCosts

pub struct ChainSpec_CostTable_WasmCosts {
    pub regular: u32,
    pub div: u32,
    pub mul: u32,
    pub mem: u32,
    pub initial_mem: u32,
    pub grow_mem: u32,
    pub memcpy: u32,
    pub max_stack_height: u32,
    pub opcodes_mul: u32,
    pub opcodes_div: u32,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

regular: u32div: u32mul: u32mem: u32initial_mem: u32grow_mem: u32memcpy: u32max_stack_height: u32opcodes_mul: u32opcodes_div: u32unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl ChainSpec_CostTable_WasmCosts[src]

pub fn new() -> ChainSpec_CostTable_WasmCosts[src]

pub fn get_regular(&self) -> u32[src]

pub fn clear_regular(&mut self)[src]

pub fn set_regular(&mut self, v: u32)[src]

pub fn get_div(&self) -> u32[src]

pub fn clear_div(&mut self)[src]

pub fn set_div(&mut self, v: u32)[src]

pub fn get_mul(&self) -> u32[src]

pub fn clear_mul(&mut self)[src]

pub fn set_mul(&mut self, v: u32)[src]

pub fn get_mem(&self) -> u32[src]

pub fn clear_mem(&mut self)[src]

pub fn set_mem(&mut self, v: u32)[src]

pub fn get_initial_mem(&self) -> u32[src]

pub fn clear_initial_mem(&mut self)[src]

pub fn set_initial_mem(&mut self, v: u32)[src]

pub fn get_grow_mem(&self) -> u32[src]

pub fn clear_grow_mem(&mut self)[src]

pub fn set_grow_mem(&mut self, v: u32)[src]

pub fn get_memcpy(&self) -> u32[src]

pub fn clear_memcpy(&mut self)[src]

pub fn set_memcpy(&mut self, v: u32)[src]

pub fn get_max_stack_height(&self) -> u32[src]

pub fn clear_max_stack_height(&mut self)[src]

pub fn set_max_stack_height(&mut self, v: u32)[src]

pub fn get_opcodes_mul(&self) -> u32[src]

pub fn clear_opcodes_mul(&mut self)[src]

pub fn set_opcodes_mul(&mut self, v: u32)[src]

pub fn get_opcodes_div(&self) -> u32[src]

pub fn clear_opcodes_div(&mut self)[src]

pub fn set_opcodes_div(&mut self, v: u32)[src]

Trait Implementations

impl Clear for ChainSpec_CostTable_WasmCosts[src]

impl Clone for ChainSpec_CostTable_WasmCosts[src]

impl Debug for ChainSpec_CostTable_WasmCosts[src]

impl Default for ChainSpec_CostTable_WasmCosts[src]

impl<'a> Default for &'a ChainSpec_CostTable_WasmCosts[src]

impl From<ChainSpec_CostTable_WasmCosts> for WasmCosts[src]

impl From<WasmCosts> for ChainSpec_CostTable_WasmCosts[src]

impl Message for ChainSpec_CostTable_WasmCosts[src]

impl PartialEq<ChainSpec_CostTable_WasmCosts> for ChainSpec_CostTable_WasmCosts[src]

impl ProtobufValue for ChainSpec_CostTable_WasmCosts[src]

impl StructuralPartialEq for ChainSpec_CostTable_WasmCosts[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> From<T> for T[src]

impl<T> FromBits<T> for T

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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