pub struct BinaryExpr<A: Debug + Clone> {
pub left: Expr<A>,
pub op: BinaryInfixOperator,
pub right: Expr<A>,
pub aug: A,
pub location: TextLocation,
}Fields§
§left: Expr<A>§op: BinaryInfixOperator§right: Expr<A>§aug: A§location: TextLocationTrait Implementations§
Source§impl<A: Clone + Debug + Clone> Clone for BinaryExpr<A>
impl<A: Clone + Debug + Clone> Clone for BinaryExpr<A>
Source§fn clone(&self) -> BinaryExpr<A>
fn clone(&self) -> BinaryExpr<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<A> Freeze for BinaryExpr<A>where
A: Freeze,
impl<A> RefUnwindSafe for BinaryExpr<A>where
A: RefUnwindSafe,
impl<A> Send for BinaryExpr<A>
impl<A> Sync for BinaryExpr<A>
impl<A> Unpin for BinaryExpr<A>where
A: Unpin,
impl<A> UnsafeUnpin for BinaryExpr<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for BinaryExpr<A>where
A: UnwindSafe + RefUnwindSafe,
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