Struct lunarity_ast::BinaryExpression
source · pub struct BinaryExpression<'ast> {
pub left: ExpressionNode<'ast>,
pub operator: Node<'ast, BinaryOperator>,
pub right: ExpressionNode<'ast>,
}
Fields§
§left: ExpressionNode<'ast>
§operator: Node<'ast, BinaryOperator>
§right: ExpressionNode<'ast>
Trait Implementations§
source§impl<'ast> Clone for BinaryExpression<'ast>
impl<'ast> Clone for BinaryExpression<'ast>
source§fn clone(&self) -> BinaryExpression<'ast>
fn clone(&self) -> BinaryExpression<'ast>
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<'ast> Debug for BinaryExpression<'ast>
impl<'ast> Debug for BinaryExpression<'ast>
source§impl<'ast> From<BinaryExpression<'ast>> for Expression<'ast>
impl<'ast> From<BinaryExpression<'ast>> for Expression<'ast>
source§fn from(val: BinaryExpression<'ast>) -> Self
fn from(val: BinaryExpression<'ast>) -> Self
Converts to this type from the input type.