pub enum RangePatternLeft<'tree> {
LiteralPattern(Box<LiteralPattern<'tree>>),
Crate(Box<Crate<'tree>>),
Identifier(Box<Identifier<'tree>>),
Metavariable(Box<Metavariable<'tree>>),
ScopedIdentifier(Box<ScopedIdentifier<'tree>>),
SelfType(Box<SelfType<'tree>>),
Super(Box<Super<'tree>>),
}Variants§
LiteralPattern(Box<LiteralPattern<'tree>>)
Crate(Box<Crate<'tree>>)
Identifier(Box<Identifier<'tree>>)
Metavariable(Box<Metavariable<'tree>>)
ScopedIdentifier(Box<ScopedIdentifier<'tree>>)
SelfType(Box<SelfType<'tree>>)
Super(Box<Super<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for RangePatternLeft<'tree>
impl<'tree> Clone for RangePatternLeft<'tree>
Source§fn clone(&self) -> RangePatternLeft<'tree>
fn clone(&self) -> RangePatternLeft<'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 RangePatternLeft<'tree>
impl<'tree> Debug for RangePatternLeft<'tree>
Source§impl<'tree> FromNode<'tree> for RangePatternLeft<'tree>
impl<'tree> FromNode<'tree> for RangePatternLeft<'tree>
Source§impl<'tree> PartialEq for RangePatternLeft<'tree>
impl<'tree> PartialEq for RangePatternLeft<'tree>
Source§impl Spanned for RangePatternLeft<'_>
impl Spanned for RangePatternLeft<'_>
impl<'tree> Eq for RangePatternLeft<'tree>
impl<'tree> StructuralPartialEq for RangePatternLeft<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for RangePatternLeft<'tree>
impl<'tree> RefUnwindSafe for RangePatternLeft<'tree>
impl<'tree> Send for RangePatternLeft<'tree>
impl<'tree> Sync for RangePatternLeft<'tree>
impl<'tree> Unpin for RangePatternLeft<'tree>
impl<'tree> UnsafeUnpin for RangePatternLeft<'tree>
impl<'tree> UnwindSafe for RangePatternLeft<'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