pub struct Ident<'lex> { /* private fields */ }
Expand description
A identifier, i.e., a self-delimiting word like foo
or 黒猫
.
Implementations§
Trait Implementations§
source§impl Spanned for Ident<'_>
impl Spanned for Ident<'_>
source§fn comments<'ctx>(&self, ctx: &'ctx Context) -> Comments<'ctx>
fn comments<'ctx>(&self, ctx: &'ctx Context) -> Comments<'ctx>
Forwards to
SpanId::comments()
.impl<'lex> Copy for Ident<'lex>
Auto Trait Implementations§
impl<'lex> RefUnwindSafe for Ident<'lex>
impl<'lex> Send for Ident<'lex>
impl<'lex> Sync for Ident<'lex>
impl<'lex> Unpin for Ident<'lex>
impl<'lex> UnwindSafe for Ident<'lex>
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