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.
Tuple Fields of Linear
0: NonZeroU32
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 MemoryGrowCost
impl Send for MemoryGrowCost
impl Sync for MemoryGrowCost
impl Unpin for MemoryGrowCost
impl UnwindSafe for MemoryGrowCost
Blanket Implementations
Mutably borrows from an owned value. Read more