pub enum Expression {
Primary(Box<Primary>),
Unary(Box<ExpressionUnary>),
IncOrDecExpression(Box<IncOrDecExpression>),
OperatorAssignment(Box<ExpressionOperatorAssignment>),
Binary(Box<ExpressionBinary>),
ConditionalExpression(Box<ConditionalExpression>),
InsideExpression(Box<InsideExpression>),
TaggedUnionExpression(Box<TaggedUnionExpression>),
}
Variants§
Primary(Box<Primary>)
Unary(Box<ExpressionUnary>)
IncOrDecExpression(Box<IncOrDecExpression>)
OperatorAssignment(Box<ExpressionOperatorAssignment>)
Binary(Box<ExpressionBinary>)
ConditionalExpression(Box<ConditionalExpression>)
InsideExpression(Box<InsideExpression>)
TaggedUnionExpression(Box<TaggedUnionExpression>)
Trait Implementations§
source§impl Clone for Expression
impl Clone for Expression
source§fn clone(&self) -> Expression
fn clone(&self) -> Expression
Returns a copy 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 Debug for Expression
impl Debug for Expression
source§impl<'a> From<&'a Expression> for RefNode<'a>
impl<'a> From<&'a Expression> for RefNode<'a>
source§fn from(x: &'a Expression) -> Self
fn from(x: &'a Expression) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a Expression> for RefNodes<'a>
impl<'a> From<&'a Expression> for RefNodes<'a>
source§fn from(x: &'a Expression) -> Self
fn from(x: &'a Expression) -> Self
Converts to this type from the input type.
source§impl From<Expression> for AnyNode
impl From<Expression> for AnyNode
source§fn from(x: Expression) -> Self
fn from(x: Expression) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a Expression
impl<'a> IntoIterator for &'a Expression
source§impl PartialEq for Expression
impl PartialEq for Expression
source§fn eq(&self, other: &Expression) -> bool
fn eq(&self, other: &Expression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a Expression> for Locate
impl<'a> TryFrom<&'a Expression> for Locate
source§impl TryFrom<AnyNode> for Expression
impl TryFrom<AnyNode> for Expression
source§impl TryFrom<Expression> for Locate
impl TryFrom<Expression> for Locate
impl StructuralPartialEq for Expression
Auto Trait Implementations§
impl RefUnwindSafe for Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
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