Struct pwasm_utils::rules::Set [−][src]
pub struct Set { /* fields omitted */ }
Methods
impl Set
[src]
impl Set
pub fn new(regular: u32, entries: Map<InstructionType, Metering>) -> Self
[src]
pub fn new(regular: u32, entries: Map<InstructionType, Metering>) -> Self
pub fn process(&self, instruction: &Instruction) -> Result<u32, ()>
[src]
pub fn process(&self, instruction: &Instruction) -> Result<u32, ()>
pub fn grow_cost(&self) -> u32
[src]
pub fn grow_cost(&self) -> u32
pub fn with_grow_cost(self, val: u32) -> Self
[src]
pub fn with_grow_cost(self, val: u32) -> Self
pub fn with_forbidden_floats(self) -> Self
[src]
pub fn with_forbidden_floats(self) -> Self
Trait Implementations
impl Debug for Set
[src]
impl Debug for Set
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Set
[src]
impl Default for Set