Struct jsonc_parser::ast::WordLit
source · pub struct WordLit<'a> {
pub range: Range,
pub value: &'a str,
}
Expand description
A string that’s not in quotes. Usually the appearance of this would be a parsing error.
Fields§
§range: Range
§value: &'a str
Trait Implementations§
source§impl<'a> PartialEq<WordLit<'a>> for WordLit<'a>
impl<'a> PartialEq<WordLit<'a>> for WordLit<'a>
impl<'a> StructuralPartialEq for WordLit<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for WordLit<'a>
impl<'a> Send for WordLit<'a>
impl<'a> Sync for WordLit<'a>
impl<'a> Unpin for WordLit<'a>
impl<'a> UnwindSafe for WordLit<'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