pub struct TokenWithLocation(/* private fields */);Expand description
A combination of a Token and its location in the input string
Implementations§
Source§impl TokenWithLocation
impl TokenWithLocation
Trait Implementations§
Source§impl Clone for TokenWithLocation
impl Clone for TokenWithLocation
Source§fn clone(&self) -> TokenWithLocation
fn clone(&self) -> TokenWithLocation
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 TokenWithLocation
impl Debug for TokenWithLocation
Source§impl PartialEq for TokenWithLocation
impl PartialEq for TokenWithLocation
impl StructuralPartialEq for TokenWithLocation
Auto Trait Implementations§
impl Freeze for TokenWithLocation
impl RefUnwindSafe for TokenWithLocation
impl Send for TokenWithLocation
impl Sync for TokenWithLocation
impl Unpin for TokenWithLocation
impl UnwindSafe for TokenWithLocation
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