pub struct Assign {
pub op: AssignOp,
pub left: Expression,
pub right: Expression,
pub source_range: Range,
}
Expand description
Assignment expression.
Fields§
§op: AssignOp
Assignment operator.
left: Expression
Left side expression.
right: Expression
Right side expression.
source_range: Range
The range in source.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Assign
impl Send for Assign
impl Sync for Assign
impl Unpin for Assign
impl !UnwindSafe for Assign
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