pub struct BinaryOpDef {
pub kind: BinaryExprType,
pub left: Box<Expression>,
pub right: Box<Expression>,
pub pos: Position,
}
Expand description
Represents an expression with a left and a right side.
Fields§
§kind: BinaryExprType
§left: Box<Expression>
§right: Box<Expression>
§pos: Position
Trait Implementations§
Source§impl Clone for BinaryOpDef
impl Clone for BinaryOpDef
Source§fn clone(&self) -> BinaryOpDef
fn clone(&self) -> BinaryOpDef
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 BinaryOpDef
impl Debug for BinaryOpDef
Source§impl PartialEq for BinaryOpDef
impl PartialEq for BinaryOpDef
impl StructuralPartialEq for BinaryOpDef
Auto Trait Implementations§
impl Freeze for BinaryOpDef
impl RefUnwindSafe for BinaryOpDef
impl !Send for BinaryOpDef
impl !Sync for BinaryOpDef
impl Unpin for BinaryOpDef
impl UnwindSafe for BinaryOpDef
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