Enum jsonc_parser::tokens::Token
source · pub enum Token<'a> {
}
Expand description
A token found while scanning.
Variants§
OpenBrace
CloseBrace
OpenBracket
CloseBracket
Comma
Colon
String(Cow<'a, str>)
Word(&'a str)
Boolean(bool)
Number(&'a str)
Null
CommentLine(&'a str)
CommentBlock(&'a str)
Trait Implementations§
source§impl<'a> PartialEq<Token<'a>> for Token<'a>
impl<'a> PartialEq<Token<'a>> for Token<'a>
impl<'a> StructuralPartialEq for Token<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Token<'a>
impl<'a> Send for Token<'a>
impl<'a> Sync for Token<'a>
impl<'a> Unpin for Token<'a>
impl<'a> UnwindSafe for Token<'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