pub struct AssignmentStatement {
pub assignment_type: AssignmentType,
pub variable: Token,
pub value: Box<dyn Expression>,
}Fields§
§assignment_type: AssignmentType§variable: Token§value: Box<dyn Expression>Implementations§
Source§impl AssignmentStatement
impl AssignmentStatement
pub fn local(variable: Token, value: Box<dyn Expression>) -> Self
pub fn reassignment(variable: Token, value: Box<dyn Expression>) -> Self
Trait Implementations§
Source§impl Debug for AssignmentStatement
impl Debug for AssignmentStatement
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