pub struct ArithmeticCommand {
pub expr: UnexpandedArithmeticExpr,
pub loc: TokenLocation,
}Expand description
An arithmetic command, evaluating an arithmetic expression.
Fields§
§expr: UnexpandedArithmeticExprThe raw, unparsed and unexpanded arithmetic expression.
loc: TokenLocationLocation of the command
Trait Implementations§
Source§impl Clone for ArithmeticCommand
impl Clone for ArithmeticCommand
Source§fn clone(&self) -> ArithmeticCommand
fn clone(&self) -> ArithmeticCommand
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 ArithmeticCommand
impl Debug for ArithmeticCommand
Source§impl Display for ArithmeticCommand
impl Display for ArithmeticCommand
Source§impl SourceLocation for ArithmeticCommand
impl SourceLocation for ArithmeticCommand
Source§fn location(&self) -> Option<TokenLocation>
fn location(&self) -> Option<TokenLocation>
The location of the syntax item, when known
Auto Trait Implementations§
impl Freeze for ArithmeticCommand
impl RefUnwindSafe for ArithmeticCommand
impl Send for ArithmeticCommand
impl Sync for ArithmeticCommand
impl Unpin for ArithmeticCommand
impl UnwindSafe for ArithmeticCommand
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