Struct endbasic_core::ast::BinaryOpSpan
source · Expand description
Components of a binary operation expression.
Fields§
§lhs: ExprExpression on the left side of the operator.
rhs: ExprExpression on the right side of the operator.
pos: LineColStarting position of the operator.
Trait Implementations§
source§impl Clone for BinaryOpSpan
impl Clone for BinaryOpSpan
source§fn clone(&self) -> BinaryOpSpan
fn clone(&self) -> BinaryOpSpan
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 BinaryOpSpan
impl Debug for BinaryOpSpan
source§impl PartialEq<BinaryOpSpan> for BinaryOpSpan
impl PartialEq<BinaryOpSpan> for BinaryOpSpan
source§fn eq(&self, other: &BinaryOpSpan) -> bool
fn eq(&self, other: &BinaryOpSpan) -> bool
This method tests for
self and other values to be equal, and is used
by ==.