[][src]Trait walrus::ir::matcher::Matcher

pub trait Matcher {
    fn is_match(&self, func: &LocalFunction, expr: &Expr) -> bool;
}

A trait to match an expression.

Required methods

fn is_match(&self, func: &LocalFunction, expr: &Expr) -> bool

Does this expression match?

Loading content...

Implementors

impl Matcher for BlockMatcher[src]

impl Matcher for BrMatcher[src]

impl Matcher for CallMatcher[src]

impl Matcher for ConstMatcher[src]

impl Matcher for DataDropMatcher[src]

impl Matcher for GlobalGetMatcher[src]

impl Matcher for LocalGetMatcher[src]

impl Matcher for MemorySizeMatcher[src]

impl Matcher for RefNullMatcher[src]

impl Matcher for ReturnMatcher[src]

impl Matcher for TableSizeMatcher[src]

impl Matcher for UnreachableMatcher[src]

impl<T: Matcher> Matcher for BrIfMatcher<T>[src]

impl<T: Matcher> Matcher for BrTableMatcher<T>[src]

impl<T: Matcher> Matcher for CallIndirectMatcher<T>[src]

impl<T: Matcher> Matcher for DropMatcher<T>[src]

impl<T: Matcher> Matcher for GlobalSetMatcher<T>[src]

impl<T: Matcher> Matcher for IfElseMatcher<T>[src]

impl<T: Matcher> Matcher for LoadMatcher<T>[src]

impl<T: Matcher> Matcher for LocalSetMatcher<T>[src]

impl<T: Matcher> Matcher for LocalTeeMatcher<T>[src]

impl<T: Matcher> Matcher for MemoryGrowMatcher<T>[src]

impl<T: Matcher> Matcher for RefIsNullMatcher<T>[src]

impl<T: Matcher> Matcher for TableGetMatcher<T>[src]

impl<T: Matcher> Matcher for UnopMatcher<T>[src]

impl<T: Matcher> Matcher for WithSideEffectsMatcher<T>[src]

impl<T: Matcher, U: Matcher> Matcher for AtomicNotifyMatcher<T, U>[src]

impl<T: Matcher, U: Matcher> Matcher for AtomicRmwMatcher<T, U>[src]

impl<T: Matcher, U: Matcher> Matcher for BinopMatcher<T, U>[src]

impl<T: Matcher, U: Matcher> Matcher for StoreMatcher<T, U>[src]

impl<T: Matcher, U: Matcher> Matcher for TableGrowMatcher<T, U>[src]

impl<T: Matcher, U: Matcher> Matcher for TableSetMatcher<T, U>[src]

impl<T: Matcher, U: Matcher> Matcher for V128ShuffleMatcher<T, U>[src]

impl<T: Matcher, U: Matcher, V: Matcher> Matcher for AtomicWaitMatcher<T, U, V>[src]

impl<T: Matcher, U: Matcher, V: Matcher> Matcher for CmpxchgMatcher<T, U, V>[src]

impl<T: Matcher, U: Matcher, V: Matcher> Matcher for MemoryCopyMatcher<T, U, V>[src]

impl<T: Matcher, U: Matcher, V: Matcher> Matcher for MemoryFillMatcher<T, U, V>[src]

impl<T: Matcher, U: Matcher, V: Matcher> Matcher for MemoryInitMatcher<T, U, V>[src]

impl<T: Matcher, U: Matcher, V: Matcher> Matcher for SelectMatcher<T, U, V>[src]

impl<T: Matcher, U: Matcher, V: Matcher> Matcher for V128BitselectMatcher<T, U, V>[src]

Loading content...