pub enum IrTerm {
Variable(Spur),
Constant(Spur),
Description(Spur),
Unspecified,
Number(f64),
}Expand description
The atomic arguments of a predicate.
Variants§
Variable(Spur)
A bound logic variable (a $-prefixed name, e.g. $x)
Constant(Spur)
A named constant entity (a Name like Adam, or a pronoun constant)
Description(Spur)
An entity described by a predicate (some dog / the dog)
Unspecified
An explicitly unspecified argument (_ or an omitted place)
Number(f64)
Numeric literal.
Trait Implementations§
impl StructuralPartialEq for IrTerm
Auto Trait Implementations§
impl Freeze for IrTerm
impl RefUnwindSafe for IrTerm
impl Send for IrTerm
impl Sync for IrTerm
impl Unpin for IrTerm
impl UnsafeUnpin for IrTerm
impl UnwindSafe for IrTerm
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