Enum casper_wasm_utils::rules::MemoryGrowCost
source · pub enum MemoryGrowCost {
Linear(NonZeroU32),
}Expand description
Dynamic costs for memory growth.
Variants§
Linear(NonZeroU32)
Charge the specified amount for each page that the memory is grown by.
Trait Implementations§
source§impl Clone for MemoryGrowCost
impl Clone for MemoryGrowCost
source§fn clone(&self) -> MemoryGrowCost
fn clone(&self) -> MemoryGrowCost
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MemoryGrowCost
impl Debug for MemoryGrowCost
source§impl PartialEq<MemoryGrowCost> for MemoryGrowCost
impl PartialEq<MemoryGrowCost> for MemoryGrowCost
source§fn eq(&self, other: &MemoryGrowCost) -> bool
fn eq(&self, other: &MemoryGrowCost) -> bool
This method tests for
self and other values to be equal, and is used
by ==.