[][src]Enum epilog::ast::Term

pub enum Term<L, V> {
    Lit(L),
    Var(Var<V>),
}

Variants

Lit(L)
Var(Var<V>)

Trait Implementations

impl<L: Clone, V: Clone> Clone for Term<L, V>[src]

impl<L: Copy, V: Copy> Copy for Term<L, V>[src]

impl<L: Debug, V: Debug> Debug for Term<L, V>[src]

impl<L: Eq, V: Eq> Eq for Term<L, V>[src]

impl<L, V: Eq + Hash> FreeVars<Var<V>> for Term<L, V>[src]

impl<L, V> From<Term<L, V>> for Ast<L, V>[src]

impl<L, V> From<Var<V>> for Term<L, V>[src]

impl<L: Hash, V: Hash> Hash for Term<L, V>[src]

impl<L: Ord, V: Ord> Ord for Term<L, V>[src]

impl<L: PartialEq, V: PartialEq> PartialEq<Term<L, V>> for Term<L, V>[src]

impl<L: PartialOrd, V: PartialOrd> PartialOrd<Term<L, V>> for Term<L, V>[src]

impl<L, V> StructuralEq for Term<L, V>[src]

impl<L, V> StructuralPartialEq for Term<L, V>[src]

impl<L: Clone, V: Clone + Eq + Hash> SubWith<Var<V>, Ast<L, V>> for Term<L, V>[src]

type Error = Error

impl<L, V> TryFrom<Ast<L, V>> for Term<L, V>[src]

type Error = Ast<L, V>

The type returned in the event of a conversion error.

impl<L: Clone + Eq + Hash, V: Clone + Eq + Hash> Unify<Var<V>, Ast<L, V>> for Term<L, V>[src]

type Error = Error

Auto Trait Implementations

impl<L, V> RefUnwindSafe for Term<L, V> where
    L: RefUnwindSafe,
    V: RefUnwindSafe

impl<L, V> Send for Term<L, V> where
    L: Send,
    V: Send

impl<L, V> Sync for Term<L, V> where
    L: Sync,
    V: Sync

impl<L, V> Unpin for Term<L, V> where
    L: Unpin,
    V: Unpin

impl<L, V> UnwindSafe for Term<L, V> where
    L: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.