pub struct TokenWithPos {
pub token: Token,
pub position: Position,
}
Expand description
Token with position information
Fields§
§token: Token
§position: Position
Trait Implementations§
Source§impl Clone for TokenWithPos
impl Clone for TokenWithPos
Source§fn clone(&self) -> TokenWithPos
fn clone(&self) -> TokenWithPos
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 TokenWithPos
impl Debug for TokenWithPos
Source§impl PartialEq for TokenWithPos
impl PartialEq for TokenWithPos
impl StructuralPartialEq for TokenWithPos
Auto Trait Implementations§
impl Freeze for TokenWithPos
impl RefUnwindSafe for TokenWithPos
impl Send for TokenWithPos
impl Sync for TokenWithPos
impl Unpin 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