Struct casper_wasm_utils::rules::Set
source · pub struct Set { /* private fields */ }Implementations§
Trait Implementations§
source§impl Rules for Set
impl Rules for Set
source§fn instruction_cost(&self, instruction: &Instruction) -> Option<u32>
fn instruction_cost(&self, instruction: &Instruction) -> Option<u32>
Returns the cost for the passed
instruction. Read moresource§fn memory_grow_cost(&self) -> Option<MemoryGrowCost>
fn memory_grow_cost(&self) -> Option<MemoryGrowCost>
Returns the costs for growing the memory using the
memory.grow instruction. Read more