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