pub struct Token<'input, N: Num> {
pub value: TokenValue<'input, N>,
pub span: Range<usize>,
}
Fields§
§value: TokenValue<'input, N>
§span: Range<usize>
Trait Implementations§
source§impl<'input, N: PartialEq + Num> PartialEq for Token<'input, N>
impl<'input, N: PartialEq + Num> PartialEq for Token<'input, N>
impl<'input, N: Num> StructuralPartialEq for Token<'input, N>
Auto Trait Implementations§
impl<'input, N> Freeze for Token<'input, N>where
N: Freeze,
impl<'input, N> RefUnwindSafe for Token<'input, N>where
N: RefUnwindSafe,
impl<'input, N> Send for Token<'input, N>where
N: Send,
impl<'input, N> Sync for Token<'input, N>where
N: Sync,
impl<'input, N> Unpin for Token<'input, N>where
N: Unpin,
impl<'input, N> UnwindSafe for Token<'input, N>where
N: 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