[−][src]Enum epilog::ast::Ast
Variants
Var(Var<V>)
NOTE: do NOT rely on unification order for this
Trait Implementations
impl<L: Clone, V: Clone> Clone for Ast<L, V>
[src]
impl<L: Debug, V: Debug> Debug for Ast<L, V>
[src]
impl<L: Eq + Hash, V: Eq + Hash> Eq for Ast<L, V>
[src]
impl<L, V: Eq + Hash> FreeVars<Var<V>> for Ast<L, V>
[src]
fn free_vars_into<'a>(&'a self, set: &mut HashSet<&'a Var<V>>)
[src]
fn free_vars(&self) -> HashSet<&V>
[src]
impl<L, V> From<Term<L, V>> for Ast<L, V>
[src]
impl<L, V> From<Var<V>> for Ast<L, V>
[src]
impl<L: Eq + Hash, V: Eq + Hash> PartialEq<Ast<L, V>> for Ast<L, V>
[src]
impl<L: Clone + Eq + Hash, V: Clone + Eq + Hash> SubWith<Var<V>, Ast<L, V>> for Ast<L, V>
[src]
type Error = Error
fn sub(&self, sub: &Sub<Var<V>, Ast<L, V>>) -> Result<Self, Self::Error>
[src]
fn with(&self, key: K, val: V) -> Result<Self, Self::Error>
[src]
impl<L: Clone, V: Clone + Eq + Hash> SubWith<Var<V>, Ast<L, V>> for Term<L, V>
[src]
type Error = Error
fn sub(&self, sub: &Sub<Var<V>, Ast<L, V>>) -> Result<Self, Self::Error>
[src]
fn with(&self, key: K, val: V) -> Result<Self, Self::Error>
[src]
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.
fn try_from(ast: Ast<L, V>) -> Result<Self, Self::Error>
[src]
impl<L: Clone + Eq + Hash, V: Clone + Eq + Hash> Unify<Var<V>, Ast<L, V>> for Ast<L, V>
[src]
type Error = Error
fn unify_with<'a>(
&self,
sub: CowSub<'a, Var<V>, Ast<L, V>>,
rhs: &Self
) -> UResult<'a, Var<V>, Ast<L, V>, Self::Error>
[src]
&self,
sub: CowSub<'a, Var<V>, Ast<L, V>>,
rhs: &Self
) -> UResult<'a, Var<V>, Ast<L, V>, Self::Error>
fn unify(&self, rhs: &Self) -> UResult<K, V, Self::Error>
[src]
impl<L: Clone + Eq + Hash, V: Clone + Eq + Hash> Unify<Var<V>, Ast<L, V>> for Term<L, V>
[src]
Auto Trait Implementations
impl<L, V> RefUnwindSafe for Ast<L, V> where
L: RefUnwindSafe,
V: RefUnwindSafe,
L: RefUnwindSafe,
V: RefUnwindSafe,
impl<L, V> Send for Ast<L, V> where
L: Send,
V: Send,
L: Send,
V: Send,
impl<L, V> Sync for Ast<L, V> where
L: Sync,
V: Sync,
L: Sync,
V: Sync,
impl<L, V> Unpin for Ast<L, V> where
L: Unpin,
V: Unpin,
L: Unpin,
V: Unpin,
impl<L, V> UnwindSafe for Ast<L, V> where
L: UnwindSafe,
V: UnwindSafe,
L: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,