Enum calc_parser::lexer::Token
source · pub enum Token<I> {
Operator(Operator),
Number(I),
OpenParenthesis(),
ClosingParenthesis(),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<I> RefUnwindSafe for Token<I>where I: RefUnwindSafe,
impl<I> Send for Token<I>where I: Send,
impl<I> Sync for Token<I>where I: Sync,
impl<I> Unpin for Token<I>where I: Unpin,
impl<I> UnwindSafe for Token<I>where I: UnwindSafe,
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