pub struct AssignmentStatement {
pub name: String,
pub value: Expression,
pub location: Location,
}
Expand description
A variable assignment statement
Fields§
§name: String
Name of the variable being assigned
value: Expression
New value for the variable
location: Location
Source code location information
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssignmentStatement
impl RefUnwindSafe for AssignmentStatement
impl Send for AssignmentStatement
impl Sync for AssignmentStatement
impl Unpin for AssignmentStatement
impl UnwindSafe for AssignmentStatement
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