pub trait Matcher<C> {
// Required method
fn rewrite(&self, uop: &Arc<UOp>, ctx: &mut C) -> RewriteResult;
}Expand description
Trait for pattern matchers used by the rewrite engine.
This trait provides a unified interface for pattern matching, allowing the rewrite engine to work with different matcher implementations.