pub enum ArithmeticToken {
Number(i64),
Variable(String),
Operator(ArithmeticOperator),
LeftParen,
RightParen,
}Expand description
Token types for arithmetic expressions
Variants§
Trait Implementations§
Source§impl Clone for ArithmeticToken
impl Clone for ArithmeticToken
Source§fn clone(&self) -> ArithmeticToken
fn clone(&self) -> ArithmeticToken
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 ArithmeticToken
impl Debug for ArithmeticToken
Source§impl PartialEq for ArithmeticToken
impl PartialEq for ArithmeticToken
impl StructuralPartialEq for ArithmeticToken
Auto Trait Implementations§
impl Freeze for ArithmeticToken
impl RefUnwindSafe for ArithmeticToken
impl Send for ArithmeticToken
impl Sync for ArithmeticToken
impl Unpin for ArithmeticToken
impl UnwindSafe for ArithmeticToken
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