pub enum Expression<'tree> {
AsPattern(Box<AsPattern<'tree>>),
BooleanOperator(Box<BooleanOperator<'tree>>),
ComparisonOperator(Box<ComparisonOperator<'tree>>),
ConditionalExpression(Box<ConditionalExpression<'tree>>),
Lambda(Box<Lambda<'tree>>),
NamedExpression(Box<NamedExpression<'tree>>),
NotOperator(Box<NotOperator<'tree>>),
PrimaryExpression(Box<PrimaryExpression<'tree>>),
}Variants§
AsPattern(Box<AsPattern<'tree>>)
BooleanOperator(Box<BooleanOperator<'tree>>)
ComparisonOperator(Box<ComparisonOperator<'tree>>)
ConditionalExpression(Box<ConditionalExpression<'tree>>)
Lambda(Box<Lambda<'tree>>)
NamedExpression(Box<NamedExpression<'tree>>)
NotOperator(Box<NotOperator<'tree>>)
PrimaryExpression(Box<PrimaryExpression<'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