pub struct BinaryExpression {
pub span: SourceSpan,
pub source_id: SourceId,
pub operator: BinaryOperator,
pub lhs: ExpressionNode,
pub rhs: ExpressionNode,
}
Fields§
§span: SourceSpan
§source_id: SourceId
§operator: BinaryOperator
§lhs: ExpressionNode
§rhs: ExpressionNode
Trait Implementations§
Source§impl Clone for BinaryExpression
impl Clone for BinaryExpression
Source§fn clone(&self) -> BinaryExpression
fn clone(&self) -> BinaryExpression
Returns a duplicate 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 BinaryExpression
impl Debug for BinaryExpression
Source§impl PartialEq for BinaryExpression
impl PartialEq for BinaryExpression
impl StructuralPartialEq for BinaryExpression
Auto Trait Implementations§
impl Freeze for BinaryExpression
impl RefUnwindSafe for BinaryExpression
impl Send for BinaryExpression
impl Sync for BinaryExpression
impl Unpin for BinaryExpression
impl UnwindSafe for BinaryExpression
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