pub struct BinaryOpSpan {
pub lhs: Expr,
pub rhs: Expr,
pub pos: LineCol,
}
Expand description
Components of a binary operation expression.
Fields§
§lhs: Expr
Expression on the left side of the operator.
rhs: Expr
Expression on the right side of the operator.
pos: LineCol
Starting 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 for BinaryOpSpan
impl PartialEq for BinaryOpSpan
impl StructuralPartialEq for BinaryOpSpan
Auto Trait Implementations§
impl Freeze for BinaryOpSpan
impl RefUnwindSafe for BinaryOpSpan
impl Send for BinaryOpSpan
impl Sync for BinaryOpSpan
impl Unpin for BinaryOpSpan
impl UnwindSafe for BinaryOpSpan
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