pub enum ArithmeticTarget {
Variable(String),
ArrayElement(String, Box<ArithmeticExpr>),
}
Expand description
Identifies the target of an arithmetic assignment expression.
Variants§
Variable(String)
A named variable.
ArrayElement(String, Box<ArithmeticExpr>)
An element in an array.
Trait Implementations§
Source§impl Clone for ArithmeticTarget
impl Clone for ArithmeticTarget
Source§fn clone(&self) -> ArithmeticTarget
fn clone(&self) -> ArithmeticTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ArithmeticTarget
impl Debug for ArithmeticTarget
Auto Trait Implementations§
impl Freeze for ArithmeticTarget
impl RefUnwindSafe for ArithmeticTarget
impl Send for ArithmeticTarget
impl Sync for ArithmeticTarget
impl Unpin for ArithmeticTarget
impl UnwindSafe for ArithmeticTarget
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