pub struct Binary<'input> {
pub loc: Loc,
pub op: BinaryOp,
pub left: Box<Expr<'input>>,
pub right: Box<Expr<'input>>,
}
Expand description
A binary operation.
Fields§
§loc: Loc
§op: BinaryOp
§left: Box<Expr<'input>>
§right: Box<Expr<'input>>
Implementations§
Trait Implementations§
impl<'input> StructuralPartialEq for Binary<'input>
Auto Trait Implementations§
impl<'input> Freeze for Binary<'input>
impl<'input> RefUnwindSafe for Binary<'input>
impl<'input> Send for Binary<'input>
impl<'input> Sync for Binary<'input>
impl<'input> Unpin for Binary<'input>
impl<'input> UnwindSafe for Binary<'input>
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