pub enum TokenRepetitionPatternChildren<'tree> {
Literal(Box<Literal<'tree>>),
Crate(Box<Crate<'tree>>),
Identifier(Box<Identifier<'tree>>),
Metavariable(Box<Metavariable<'tree>>),
MutableSpecifier(Box<MutableSpecifier<'tree>>),
PrimitiveType(Box<PrimitiveType<'tree>>),
SelfType(Box<SelfType<'tree>>),
Super(Box<Super<'tree>>),
TokenBindingPattern(Box<TokenBindingPattern<'tree>>),
TokenRepetitionPattern(Box<TokenRepetitionPattern<'tree>>),
TokenTreePattern(Box<TokenTreePattern<'tree>>),
}Variants§
Literal(Box<Literal<'tree>>)
Crate(Box<Crate<'tree>>)
Identifier(Box<Identifier<'tree>>)
Metavariable(Box<Metavariable<'tree>>)
MutableSpecifier(Box<MutableSpecifier<'tree>>)
PrimitiveType(Box<PrimitiveType<'tree>>)
SelfType(Box<SelfType<'tree>>)
Super(Box<Super<'tree>>)
TokenBindingPattern(Box<TokenBindingPattern<'tree>>)
TokenRepetitionPattern(Box<TokenRepetitionPattern<'tree>>)
TokenTreePattern(Box<TokenTreePattern<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for TokenRepetitionPatternChildren<'tree>
impl<'tree> Clone for TokenRepetitionPatternChildren<'tree>
Source§fn clone(&self) -> TokenRepetitionPatternChildren<'tree>
fn clone(&self) -> TokenRepetitionPatternChildren<'tree>
Returns a duplicate 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<'tree> Debug for TokenRepetitionPatternChildren<'tree>
impl<'tree> Debug for TokenRepetitionPatternChildren<'tree>
Source§impl<'tree> FromNode<'tree> for TokenRepetitionPatternChildren<'tree>
impl<'tree> FromNode<'tree> for TokenRepetitionPatternChildren<'tree>
Source§impl<'tree> PartialEq for TokenRepetitionPatternChildren<'tree>
impl<'tree> PartialEq for TokenRepetitionPatternChildren<'tree>
Source§fn eq(&self, other: &TokenRepetitionPatternChildren<'tree>) -> bool
fn eq(&self, other: &TokenRepetitionPatternChildren<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for TokenRepetitionPatternChildren<'_>
impl Spanned for TokenRepetitionPatternChildren<'_>
impl<'tree> Eq for TokenRepetitionPatternChildren<'tree>
impl<'tree> StructuralPartialEq for TokenRepetitionPatternChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TokenRepetitionPatternChildren<'tree>
impl<'tree> RefUnwindSafe for TokenRepetitionPatternChildren<'tree>
impl<'tree> Send for TokenRepetitionPatternChildren<'tree>
impl<'tree> Sync for TokenRepetitionPatternChildren<'tree>
impl<'tree> Unpin for TokenRepetitionPatternChildren<'tree>
impl<'tree> UnsafeUnpin for TokenRepetitionPatternChildren<'tree>
impl<'tree> UnwindSafe for TokenRepetitionPatternChildren<'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