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