pub enum TermKind {
Var(String),
Int(i128),
App {
head: String,
args: Vec<Term>,
},
}Expand description
The three kinds of term.
Variants§
Var(String)
A name standing for whatever the pattern bound it to.
Int(i128)
A literal.
App
A head applied to arguments, which is every opcode, every constructor and every operator in a specification.
Trait Implementations§
impl Eq for TermKind
impl StructuralPartialEq for TermKind
Auto Trait Implementations§
impl Freeze for TermKind
impl RefUnwindSafe for TermKind
impl Send for TermKind
impl Sync for TermKind
impl Unpin for TermKind
impl UnsafeUnpin for TermKind
impl UnwindSafe for TermKind
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