Enum rust_unify::Term
[−]
[src]
pub enum Term<T> { Variable(T), Constant(T), Composite(T, Vec<Term<T>>), }
Variants
Variable(T)
Constant(T)
Composite(T, Vec<Term<T>>)
Trait Implementations
impl<T: Hash> Hash for Term<T>
[src]
fn hash<__HT: Hasher>(&self, __arg_0: &mut __HT)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<T: PartialEq> PartialEq for Term<T>
[src]
fn eq(&self, __arg_0: &Term<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Term<T>) -> bool
[src]
This method tests for !=
.
impl<T: Eq> Eq for Term<T>
[src]
impl<T: Debug> Debug for Term<T>
[src]
impl<T: Clone> Clone for Term<T>
[src]
fn clone(&self) -> Term<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more