pub enum PatternExprBasic<'tree> {
PatternConstant(Box<PatternConstant<'tree>>),
PatternPrimitive(Box<PatternPrimitive<'tree>>),
ArrayPattern(Box<ArrayPattern<'tree>>),
ExpressionReferencePattern(Box<ExpressionReferencePattern<'tree>>),
FindPattern(Box<FindPattern<'tree>>),
HashPattern(Box<HashPattern<'tree>>),
Identifier(Box<Identifier<'tree>>),
ParenthesizedPattern(Box<ParenthesizedPattern<'tree>>),
Range(Box<Range<'tree>>),
VariableReferencePattern(Box<VariableReferencePattern<'tree>>),
}Variants§
PatternConstant(Box<PatternConstant<'tree>>)
PatternPrimitive(Box<PatternPrimitive<'tree>>)
ArrayPattern(Box<ArrayPattern<'tree>>)
ExpressionReferencePattern(Box<ExpressionReferencePattern<'tree>>)
FindPattern(Box<FindPattern<'tree>>)
HashPattern(Box<HashPattern<'tree>>)
Identifier(Box<Identifier<'tree>>)
ParenthesizedPattern(Box<ParenthesizedPattern<'tree>>)
Range(Box<Range<'tree>>)
VariableReferencePattern(Box<VariableReferencePattern<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for PatternExprBasic<'tree>
impl<'tree> Clone for PatternExprBasic<'tree>
Source§fn clone(&self) -> PatternExprBasic<'tree>
fn clone(&self) -> PatternExprBasic<'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 PatternExprBasic<'tree>
impl<'tree> Debug for PatternExprBasic<'tree>
Source§impl<'tree> FromNode<'tree> for PatternExprBasic<'tree>
impl<'tree> FromNode<'tree> for PatternExprBasic<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for PatternExprBasic<'tree>
impl<'tree> RefUnwindSafe for PatternExprBasic<'tree>
impl<'tree> Send for PatternExprBasic<'tree>
impl<'tree> Sync for PatternExprBasic<'tree>
impl<'tree> Unpin for PatternExprBasic<'tree>
impl<'tree> UnsafeUnpin for PatternExprBasic<'tree>
impl<'tree> UnwindSafe for PatternExprBasic<'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