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§
impl<'a> StructuralPartialEq for StringLit<'a>
Auto Trait Implementations§
impl<'a> Freeze for StringLit<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)