pub struct PatternVariable {
pub nodes: (Symbol, VariableIdentifier),
}Fields
nodes: (Symbol, VariableIdentifier)Trait Implementations
sourceimpl Clone for PatternVariable
impl Clone for PatternVariable
sourcefn clone(&self) -> PatternVariable
fn clone(&self) -> PatternVariable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PatternVariable
impl Debug for PatternVariable
sourceimpl<'a> From<&'a PatternVariable> for RefNodes<'a>
impl<'a> From<&'a PatternVariable> for RefNodes<'a>
sourcefn from(x: &'a PatternVariable) -> Self
fn from(x: &'a PatternVariable) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a PatternVariable> for RefNode<'a>
impl<'a> From<&'a PatternVariable> for RefNode<'a>
sourcefn from(x: &'a PatternVariable) -> Self
fn from(x: &'a PatternVariable) -> Self
Converts to this type from the input type.
sourceimpl From<PatternVariable> for AnyNode
impl From<PatternVariable> for AnyNode
sourcefn from(x: PatternVariable) -> Self
fn from(x: PatternVariable) -> Self
Converts to this type from the input type.
sourceimpl<'a> IntoIterator for &'a PatternVariable
impl<'a> IntoIterator for &'a PatternVariable
sourceimpl PartialEq<PatternVariable> for PatternVariable
impl PartialEq<PatternVariable> for PatternVariable
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &PatternVariable) -> bool
fn ne(&self, other: &PatternVariable) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a PatternVariable> for Locate
impl<'a> TryFrom<&'a PatternVariable> for Locate
sourceimpl TryFrom<AnyNode> for PatternVariable
impl TryFrom<AnyNode> for PatternVariable
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more