Enum pwasm_utils::rules::MemoryGrowCost [−][src]
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MemoryGrowCostimpl Send for MemoryGrowCostimpl Sync for MemoryGrowCostimpl Unpin for MemoryGrowCostimpl UnwindSafe for MemoryGrowCostBlanket Implementations
Mutably borrows from an owned value. Read more