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