pub struct ArithCommandNode {
pub expr: SmolStr,
pub span: Span,
}Expand description
A (( expr )) arithmetic command.
Fields§
§expr: SmolStrThe arithmetic expression text.
span: SpanSource span.
Trait Implementations§
Source§impl Clone for ArithCommandNode
impl Clone for ArithCommandNode
Source§fn clone(&self) -> ArithCommandNode
fn clone(&self) -> ArithCommandNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArithCommandNode
impl Debug for ArithCommandNode
Source§impl PartialEq for ArithCommandNode
impl PartialEq for ArithCommandNode
Source§fn eq(&self, other: &ArithCommandNode) -> bool
fn eq(&self, other: &ArithCommandNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ArithCommandNode
Auto Trait Implementations§
impl Freeze for ArithCommandNode
impl RefUnwindSafe for ArithCommandNode
impl Send for ArithCommandNode
impl Sync for ArithCommandNode
impl Unpin for ArithCommandNode
impl UnsafeUnpin for ArithCommandNode
impl UnwindSafe for ArithCommandNode
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