pub struct SimpleRewriteSystem {
pub name: String,
pub rules: Vec<(String, String)>,
pub is_confluent: bool,
pub is_terminating: bool,
}Expand description
Simple rewriting system with string rules (distinct from TermRewriteSystem above).
Fields§
§name: String§rules: Vec<(String, String)>§is_confluent: bool§is_terminating: boolImplementations§
Trait Implementations§
Source§impl Clone for SimpleRewriteSystem
impl Clone for SimpleRewriteSystem
Source§fn clone(&self) -> SimpleRewriteSystem
fn clone(&self) -> SimpleRewriteSystem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SimpleRewriteSystem
impl RefUnwindSafe for SimpleRewriteSystem
impl Send for SimpleRewriteSystem
impl Sync for SimpleRewriteSystem
impl Unpin for SimpleRewriteSystem
impl UnsafeUnpin for SimpleRewriteSystem
impl UnwindSafe for SimpleRewriteSystem
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