Enum prolog_parser::ast::Term[][src]

pub enum Term {
    AnonVar,
    Clause(Cell<RegType>, ClauseNameVec<Box<Term>>, Option<Fixity>),
    Cons(Cell<RegType>, Box<Term>, Box<Term>),
    Constant(Cell<RegType>, Constant),
    Var(Cell<VarReg>, Rc<Var>),
}

Variants

Methods

impl Term
[src]

Trait Implementations

impl PartialEq for Term
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Term
[src]

impl Clone for Term
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for Term

impl !Sync for Term