pub struct TokenAndRange<'a> {
pub range: Range,
pub token: Token<'a>,
}
Expand description
A token with positional information.
Fields§
§range: Range
§token: Token<'a>
Trait Implementations§
Source§impl<'a> Ranged for TokenAndRange<'a>
impl<'a> Ranged for TokenAndRange<'a>
Auto Trait Implementations§
impl<'a> Freeze for TokenAndRange<'a>
impl<'a> RefUnwindSafe for TokenAndRange<'a>
impl<'a> Send for TokenAndRange<'a>
impl<'a> Sync for TokenAndRange<'a>
impl<'a> Unpin for TokenAndRange<'a>
impl<'a> UnwindSafe for TokenAndRange<'a>
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