pub enum Expression<'tree> {
Show 23 variants
BinaryExpression(Box<BinaryExpression<'tree>>),
CallExpression(Box<CallExpression<'tree>>),
CompositeLiteral(Box<CompositeLiteral<'tree>>),
False(Box<False<'tree>>),
FloatLiteral(Box<FloatLiteral<'tree>>),
FuncLiteral(Box<FuncLiteral<'tree>>),
Identifier(Box<Identifier<'tree>>),
ImaginaryLiteral(Box<ImaginaryLiteral<'tree>>),
IndexExpression(Box<IndexExpression<'tree>>),
IntLiteral(Box<IntLiteral<'tree>>),
InterpretedStringLiteral(Box<InterpretedStringLiteral<'tree>>),
Iota(Box<Iota<'tree>>),
Nil(Box<Nil<'tree>>),
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>),
RawStringLiteral(Box<RawStringLiteral<'tree>>),
RuneLiteral(Box<RuneLiteral<'tree>>),
SelectorExpression(Box<SelectorExpression<'tree>>),
SliceExpression(Box<SliceExpression<'tree>>),
True(Box<True<'tree>>),
TypeAssertionExpression(Box<TypeAssertionExpression<'tree>>),
TypeConversionExpression(Box<TypeConversionExpression<'tree>>),
TypeInstantiationExpression(Box<TypeInstantiationExpression<'tree>>),
UnaryExpression(Box<UnaryExpression<'tree>>),
}Variants§
BinaryExpression(Box<BinaryExpression<'tree>>)
CallExpression(Box<CallExpression<'tree>>)
CompositeLiteral(Box<CompositeLiteral<'tree>>)
False(Box<False<'tree>>)
FloatLiteral(Box<FloatLiteral<'tree>>)
FuncLiteral(Box<FuncLiteral<'tree>>)
Identifier(Box<Identifier<'tree>>)
ImaginaryLiteral(Box<ImaginaryLiteral<'tree>>)
IndexExpression(Box<IndexExpression<'tree>>)
IntLiteral(Box<IntLiteral<'tree>>)
InterpretedStringLiteral(Box<InterpretedStringLiteral<'tree>>)
Iota(Box<Iota<'tree>>)
Nil(Box<Nil<'tree>>)
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>)
RawStringLiteral(Box<RawStringLiteral<'tree>>)
RuneLiteral(Box<RuneLiteral<'tree>>)
SelectorExpression(Box<SelectorExpression<'tree>>)
SliceExpression(Box<SliceExpression<'tree>>)
True(Box<True<'tree>>)
TypeAssertionExpression(Box<TypeAssertionExpression<'tree>>)
TypeConversionExpression(Box<TypeConversionExpression<'tree>>)
TypeInstantiationExpression(Box<TypeInstantiationExpression<'tree>>)
UnaryExpression(Box<UnaryExpression<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for Expression<'tree>
impl<'tree> Clone for Expression<'tree>
Source§fn clone(&self) -> Expression<'tree>
fn clone(&self) -> Expression<'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 Expression<'tree>
impl<'tree> Debug for Expression<'tree>
Source§impl<'tree> FromNode<'tree> for Expression<'tree>
impl<'tree> FromNode<'tree> for Expression<'tree>
Source§impl<'tree> PartialEq for Expression<'tree>
impl<'tree> PartialEq for Expression<'tree>
Source§impl Spanned for Expression<'_>
impl Spanned for Expression<'_>
impl<'tree> Eq for Expression<'tree>
impl<'tree> StructuralPartialEq for Expression<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Expression<'tree>
impl<'tree> RefUnwindSafe for Expression<'tree>
impl<'tree> Send for Expression<'tree>
impl<'tree> Sync for Expression<'tree>
impl<'tree> Unpin for Expression<'tree>
impl<'tree> UnsafeUnpin for Expression<'tree>
impl<'tree> UnwindSafe for Expression<'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