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§
impl<'a> StructuralPartialEq for WordLit<'a>
Auto Trait Implementations§
impl<'a> Freeze for WordLit<'a>
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
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
)