Struct dyon::ast::BinOpExpression
source · pub struct BinOpExpression {
pub op: BinOp,
pub left: Expression,
pub right: Expression,
pub source_range: Range,
}
Expand description
Binary operator expression.
Fields§
§op: BinOp
Binary operator.
left: Expression
Left side expression.
right: Expression
Right side expression.
source_range: Range
The range in source.
Trait Implementations§
source§impl Clone for BinOpExpression
impl Clone for BinOpExpression
source§fn clone(&self) -> BinOpExpression
fn clone(&self) -> BinOpExpression
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for BinOpExpression
impl Send for BinOpExpression
impl Sync for BinOpExpression
impl Unpin for BinOpExpression
impl !UnwindSafe for BinOpExpression
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