Struct jsonc_parser::tokens::TokenAndRange
source · 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> 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