pub struct EGraphRule {
pub after_builtins: bool,
pub rule: EGraphRuleArc,
}Expand description
An e-graph rewrite rule attached to a CustomOpDescriptor.
Fields§
§after_builtins: boolWhen true the rule runs after built-in algebraic rules each
saturation round; false runs it before.
rule: EGraphRuleArcThe rule closure.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EGraphRule
impl !RefUnwindSafe for EGraphRule
impl Send for EGraphRule
impl Sync for EGraphRule
impl Unpin for EGraphRule
impl UnsafeUnpin for EGraphRule
impl !UnwindSafe for EGraphRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more