pub struct PatternVariable {
pub nodes: (Symbol, VariableIdentifier),
}
Fields§
§nodes: (Symbol, VariableIdentifier)
Trait Implementations§
source§impl Clone for PatternVariable
impl Clone for PatternVariable
source§fn clone(&self) -> PatternVariable
fn clone(&self) -> PatternVariable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PatternVariable
impl Debug for PatternVariable
source§impl<'a> From<&'a PatternVariable> for RefNode<'a>
impl<'a> From<&'a PatternVariable> for RefNode<'a>
source§fn from(x: &'a PatternVariable) -> Self
fn from(x: &'a PatternVariable) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a PatternVariable> for RefNodes<'a>
impl<'a> From<&'a PatternVariable> for RefNodes<'a>
source§fn from(x: &'a PatternVariable) -> Self
fn from(x: &'a PatternVariable) -> Self
Converts to this type from the input type.
source§impl From<PatternVariable> for AnyNode
impl From<PatternVariable> for AnyNode
source§fn from(x: PatternVariable) -> Self
fn from(x: PatternVariable) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a PatternVariable
impl<'a> IntoIterator for &'a PatternVariable
source§impl PartialEq<PatternVariable> for PatternVariable
impl PartialEq<PatternVariable> for PatternVariable
source§fn eq(&self, other: &PatternVariable) -> bool
fn eq(&self, other: &PatternVariable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.