pub struct AssignmentSpan {
pub vref: VarRef,
pub vref_pos: LineCol,
pub expr: Expr,
}
Expand description
Components of an assignment statement.
Fields§
§vref: VarRef
Reference to the variable to set.
vref_pos: LineCol
Position of the vref
.
expr: Expr
Expression to compute the value of the modified variable.
Trait Implementations§
Source§impl Debug for AssignmentSpan
impl Debug for AssignmentSpan
Source§impl PartialEq for AssignmentSpan
impl PartialEq for AssignmentSpan
impl StructuralPartialEq for AssignmentSpan
Auto Trait Implementations§
impl Freeze for AssignmentSpan
impl RefUnwindSafe for AssignmentSpan
impl Send for AssignmentSpan
impl Sync for AssignmentSpan
impl Unpin for AssignmentSpan
impl UnwindSafe for AssignmentSpan
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