pub struct Ident<'input> {
pub loc: Loc,
pub value: &'input str,
}
Expand description
An identifier literal.
Fields§
§loc: Loc
§value: &'input str
Implementations§
Trait Implementations§
impl<'input> StructuralPartialEq for Ident<'input>
Auto Trait Implementations§
impl<'input> Freeze for Ident<'input>
impl<'input> RefUnwindSafe for Ident<'input>
impl<'input> Send for Ident<'input>
impl<'input> Sync for Ident<'input>
impl<'input> Unpin for Ident<'input>
impl<'input> UnwindSafe for Ident<'input>
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