Struct term_rewriting::Variable
[−]
[src]
pub struct Variable { /* fields omitted */ }
A symbol for an unspecified term. Only carries meaning alongside a Signature
.
To construct an Variable
, use Signature::new_var
Methods
impl Variable
[src]
pub fn name<'sig>(&self, sig: &'sig Signature) -> Option<&'sig str>
[src]
pub fn display(&self, sig: &Signature) -> String
[src]
Trait Implementations
impl Debug for Variable
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for Variable
[src]
impl Clone for Variable
[src]
fn clone(&self) -> Variable
[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
impl PartialEq for Variable
[src]
fn eq(&self, __arg_0: &Variable) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Variable) -> bool
[src]
This method tests for !=
.
impl Eq for Variable
[src]
impl Hash for Variable
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[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