pub enum RecursivePatternChildren<'tree> {
ParenthesizedVariableDesignation(Box<ParenthesizedVariableDesignation<'tree>>),
Pattern(Box<Pattern<'tree>>),
PositionalPatternClause(Box<PositionalPatternClause<'tree>>),
PropertyPatternClause(Box<PropertyPatternClause<'tree>>),
}Variants§
ParenthesizedVariableDesignation(Box<ParenthesizedVariableDesignation<'tree>>)
Pattern(Box<Pattern<'tree>>)
PositionalPatternClause(Box<PositionalPatternClause<'tree>>)
PropertyPatternClause(Box<PropertyPatternClause<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for RecursivePatternChildren<'tree>
impl<'tree> Clone for RecursivePatternChildren<'tree>
Source§fn clone(&self) -> RecursivePatternChildren<'tree>
fn clone(&self) -> RecursivePatternChildren<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for RecursivePatternChildren<'tree>
impl<'tree> Debug for RecursivePatternChildren<'tree>
impl<'tree> Eq for RecursivePatternChildren<'tree>
Source§impl<'tree> FromNode<'tree> for RecursivePatternChildren<'tree>
impl<'tree> FromNode<'tree> for RecursivePatternChildren<'tree>
Source§impl<'tree> PartialEq for RecursivePatternChildren<'tree>
impl<'tree> PartialEq for RecursivePatternChildren<'tree>
Source§impl Spanned for RecursivePatternChildren<'_>
impl Spanned for RecursivePatternChildren<'_>
impl<'tree> StructuralPartialEq for RecursivePatternChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for RecursivePatternChildren<'tree>
impl<'tree> RefUnwindSafe for RecursivePatternChildren<'tree>
impl<'tree> Send for RecursivePatternChildren<'tree>
impl<'tree> Sync for RecursivePatternChildren<'tree>
impl<'tree> Unpin for RecursivePatternChildren<'tree>
impl<'tree> UnsafeUnpin for RecursivePatternChildren<'tree>
impl<'tree> UnwindSafe for RecursivePatternChildren<'tree>
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