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 for PatternVariable
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a PatternVariable> for Locate
impl<'a> TryFrom<&'a PatternVariable> for Locate
source§impl TryFrom<AnyNode> for PatternVariable
impl TryFrom<AnyNode> for PatternVariable
source§impl TryFrom<PatternVariable> for Locate
impl TryFrom<PatternVariable> for Locate
impl StructuralPartialEq for PatternVariable
Auto Trait Implementations§
impl RefUnwindSafe for PatternVariable
impl Send for PatternVariable
impl Sync for PatternVariable
impl Unpin for PatternVariable
impl UnwindSafe for PatternVariable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more