Struct pwasm_utils::rules::Set [−][src]
pub struct Set { /* fields omitted */ }Methods
impl Set[src]
impl Setpub fn new(regular: u32, entries: Map<InstructionType, Metering>) -> Self[src]
pub fn new(regular: u32, entries: Map<InstructionType, Metering>) -> Selfpub 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) -> u32pub fn with_grow_cost(self, val: u32) -> Self[src]
pub fn with_grow_cost(self, val: u32) -> Selfpub fn with_forbidden_floats(self) -> Self[src]
pub fn with_forbidden_floats(self) -> SelfTrait Implementations
impl Debug for Set[src]
impl Debug for Setfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Set[src]
impl Default for Set