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: VarRefReference to the array to modify.
vref_pos: LineColPosition of the vref.
subscripts: Vec<Expr>Expressions to compute the subscripts to index the array.
expr: ExprExpression 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