Struct egg::ConditionalApplier [−][src]
pub struct ConditionalApplier<C, A> {
pub condition: C,
pub applier: A,
}
Expand description
Fields
condition: C
applier: A
The inner Applier
to call once condition
passes.
Trait Implementations
Apply a single substitition. Read more
Returns a list of variables that this Applier assumes are bound. Read more
fn apply_matches(
&self,
egraph: &mut EGraph<L, N>,
matches: &[SearchMatches<'_, L>],
rule_name: Symbol
) -> Vec<Id>
fn apply_matches(
&self,
egraph: &mut EGraph<L, N>,
matches: &[SearchMatches<'_, L>],
rule_name: Symbol
) -> Vec<Id>
Apply many substititions. Read more
For patterns, get the ast directly as a reference.
Auto Trait Implementations
impl<C, A> RefUnwindSafe for ConditionalApplier<C, A> where
A: RefUnwindSafe,
C: RefUnwindSafe,
impl<C, A> Send for ConditionalApplier<C, A> where
A: Send,
C: Send,
impl<C, A> Sync for ConditionalApplier<C, A> where
A: Sync,
C: Sync,
impl<C, A> Unpin for ConditionalApplier<C, A> where
A: Unpin,
C: Unpin,
impl<C, A> UnwindSafe for ConditionalApplier<C, A> where
A: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more