pub enum Expression<'tree> {
Show 13 variants
BinaryExpression(Box<BinaryExpression<'tree>>),
False(Box<False<'tree>>),
FunctionCall(Box<FunctionCall<'tree>>),
FunctionDefinition(Box<FunctionDefinition<'tree>>),
Nil(Box<Nil<'tree>>),
Number(Box<Number<'tree>>),
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>),
String(Box<String<'tree>>),
TableConstructor(Box<TableConstructor<'tree>>),
True(Box<True<'tree>>),
UnaryExpression(Box<UnaryExpression<'tree>>),
VarargExpression(Box<VarargExpression<'tree>>),
Variable(Box<Variable<'tree>>),
}Variants§
BinaryExpression(Box<BinaryExpression<'tree>>)
False(Box<False<'tree>>)
FunctionCall(Box<FunctionCall<'tree>>)
FunctionDefinition(Box<FunctionDefinition<'tree>>)
Nil(Box<Nil<'tree>>)
Number(Box<Number<'tree>>)
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>)
String(Box<String<'tree>>)
TableConstructor(Box<TableConstructor<'tree>>)
True(Box<True<'tree>>)
UnaryExpression(Box<UnaryExpression<'tree>>)
VarargExpression(Box<VarargExpression<'tree>>)
Variable(Box<Variable<'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>
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