pub struct TokenWithPos {
pub token: Token,
pub pos: Position,
}Expand description
Token with position information
Fields§
§token: Token§pos: PositionImplementations§
Trait Implementations§
Source§impl Clone for TokenWithPos
impl Clone for TokenWithPos
Source§impl Debug for TokenWithPos
impl Debug for TokenWithPos
Source§impl PartialEq for TokenWithPos
impl PartialEq for TokenWithPos
impl StructuralPartialEq for TokenWithPos
Auto Trait Implementations§
impl Forget for TokenWithPos
impl Freeze for TokenWithPos
impl Move for TokenWithPos
impl RefUnwindSafe for TokenWithPos
impl Send for TokenWithPos
impl Sync for TokenWithPos
impl Unpin for TokenWithPos
impl UnsafeUnpin for TokenWithPos
impl UnwindSafe for TokenWithPos
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