pub struct DeclareMutable {
pub variable: Variable,
pub value: Expression,
pub location: Location,
}
Expand description
A var
statement that declares a new mutable variable
Fields§
§variable: Variable
§value: Expression
§location: Location
Trait Implementations§
Source§impl Debug for DeclareMutable
impl Debug for DeclareMutable
Source§impl Display for DeclareMutable
impl Display for DeclareMutable
Source§impl From<DeclareMutable> for Statement
impl From<DeclareMutable> for Statement
Source§fn from(statement: DeclareMutable) -> Statement
fn from(statement: DeclareMutable) -> Statement
Converts to this type from the input type.
Source§impl PartialEq for DeclareMutable
impl PartialEq for DeclareMutable
impl Eq for DeclareMutable
impl StructuralPartialEq for DeclareMutable
Auto Trait Implementations§
impl Freeze for DeclareMutable
impl RefUnwindSafe for DeclareMutable
impl Send for DeclareMutable
impl Sync for DeclareMutable
impl Unpin for DeclareMutable
impl UnwindSafe for DeclareMutable
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