pub struct AlgRule {
pub name: String,
pub applied: usize,
}Expand description
An algebraic simplification rule: a pattern to match and a replacement.
Fields§
§name: StringHuman-readable name of the rule.
applied: usizeNumber of times this rule has been applied.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AlgRule
impl RefUnwindSafe for AlgRule
impl Send for AlgRule
impl Sync for AlgRule
impl Unpin for AlgRule
impl UnsafeUnpin for AlgRule
impl UnwindSafe for AlgRule
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