pub enum ConstantExpression {
ConstantPrimary(Box<ConstantPrimary>),
Unary(Box<ConstantExpressionUnary>),
Binary(Box<ConstantExpressionBinary>),
Ternary(Box<ConstantExpressionTernary>),
}
Variants§
ConstantPrimary(Box<ConstantPrimary>)
Unary(Box<ConstantExpressionUnary>)
Binary(Box<ConstantExpressionBinary>)
Ternary(Box<ConstantExpressionTernary>)
Trait Implementations§
source§impl Clone for ConstantExpression
impl Clone for ConstantExpression
source§fn clone(&self) -> ConstantExpression
fn clone(&self) -> ConstantExpression
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 ConstantExpression
impl Debug for ConstantExpression
source§impl<'a> From<&'a ConstantExpression> for RefNode<'a>
impl<'a> From<&'a ConstantExpression> for RefNode<'a>
source§fn from(x: &'a ConstantExpression) -> Self
fn from(x: &'a ConstantExpression) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a ConstantExpression> for RefNodes<'a>
impl<'a> From<&'a ConstantExpression> for RefNodes<'a>
source§fn from(x: &'a ConstantExpression) -> Self
fn from(x: &'a ConstantExpression) -> Self
Converts to this type from the input type.
source§impl From<ConstantExpression> for AnyNode
impl From<ConstantExpression> for AnyNode
source§fn from(x: ConstantExpression) -> Self
fn from(x: ConstantExpression) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ConstantExpression
impl<'a> IntoIterator for &'a ConstantExpression
source§impl PartialEq<ConstantExpression> for ConstantExpression
impl PartialEq<ConstantExpression> for ConstantExpression
source§fn eq(&self, other: &ConstantExpression) -> bool
fn eq(&self, other: &ConstantExpression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.