Struct gear_pwasm_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 moreAuto Trait Implementations§
impl RefUnwindSafe for Set
impl Send for Set
impl Sync for Set
impl Unpin for Set
impl UnwindSafe for Set
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more