pub enum ConstantPatternChildren<'tree> {
Show 15 variants
BinaryExpression(Box<BinaryExpression<'tree>>),
CastExpression(Box<CastExpression<'tree>>),
DefaultExpression(Box<DefaultExpression<'tree>>),
GenericName(Box<GenericName<'tree>>),
Identifier(Box<Identifier<'tree>>),
InterpolatedStringExpression(Box<InterpolatedStringExpression<'tree>>),
InvocationExpression(Box<InvocationExpression<'tree>>),
Literal(Box<Literal<'tree>>),
MemberAccessExpression(Box<MemberAccessExpression<'tree>>),
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>),
PostfixUnaryExpression(Box<PostfixUnaryExpression<'tree>>),
PrefixUnaryExpression(Box<PrefixUnaryExpression<'tree>>),
SizeofExpression(Box<SizeofExpression<'tree>>),
TupleExpression(Box<TupleExpression<'tree>>),
TypeofExpression(Box<TypeofExpression<'tree>>),
}Variants§
BinaryExpression(Box<BinaryExpression<'tree>>)
CastExpression(Box<CastExpression<'tree>>)
DefaultExpression(Box<DefaultExpression<'tree>>)
GenericName(Box<GenericName<'tree>>)
Identifier(Box<Identifier<'tree>>)
InterpolatedStringExpression(Box<InterpolatedStringExpression<'tree>>)
InvocationExpression(Box<InvocationExpression<'tree>>)
Literal(Box<Literal<'tree>>)
MemberAccessExpression(Box<MemberAccessExpression<'tree>>)
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>)
PostfixUnaryExpression(Box<PostfixUnaryExpression<'tree>>)
PrefixUnaryExpression(Box<PrefixUnaryExpression<'tree>>)
SizeofExpression(Box<SizeofExpression<'tree>>)
TupleExpression(Box<TupleExpression<'tree>>)
TypeofExpression(Box<TypeofExpression<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for ConstantPatternChildren<'tree>
impl<'tree> Clone for ConstantPatternChildren<'tree>
Source§fn clone(&self) -> ConstantPatternChildren<'tree>
fn clone(&self) -> ConstantPatternChildren<'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 ConstantPatternChildren<'tree>
impl<'tree> Debug for ConstantPatternChildren<'tree>
Source§impl<'tree> FromNode<'tree> for ConstantPatternChildren<'tree>
impl<'tree> FromNode<'tree> for ConstantPatternChildren<'tree>
Source§impl<'tree> PartialEq for ConstantPatternChildren<'tree>
impl<'tree> PartialEq for ConstantPatternChildren<'tree>
Source§fn eq(&self, other: &ConstantPatternChildren<'tree>) -> bool
fn eq(&self, other: &ConstantPatternChildren<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for ConstantPatternChildren<'_>
impl Spanned for ConstantPatternChildren<'_>
impl<'tree> Eq for ConstantPatternChildren<'tree>
impl<'tree> StructuralPartialEq for ConstantPatternChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ConstantPatternChildren<'tree>
impl<'tree> RefUnwindSafe for ConstantPatternChildren<'tree>
impl<'tree> Send for ConstantPatternChildren<'tree>
impl<'tree> Sync for ConstantPatternChildren<'tree>
impl<'tree> Unpin for ConstantPatternChildren<'tree>
impl<'tree> UnsafeUnpin for ConstantPatternChildren<'tree>
impl<'tree> UnwindSafe for ConstantPatternChildren<'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