Struct jsonc_parser::ast::StringLit
source · pub struct StringLit<'a> {
pub range: Range,
pub value: Cow<'a, str>,
}
Expand description
Node surrounded in double quotes (ex. "my string"
).
Fields§
§range: Range
§value: Cow<'a, str>
Trait Implementations§
source§impl<'a> PartialEq<StringLit<'a>> for StringLit<'a>
impl<'a> PartialEq<StringLit<'a>> for StringLit<'a>
impl<'a> StructuralPartialEq for StringLit<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for StringLit<'a>
impl<'a> Send for StringLit<'a>
impl<'a> Sync for StringLit<'a>
impl<'a> Unpin for StringLit<'a>
impl<'a> UnwindSafe for StringLit<'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