pub struct Ident {
pub span: Span,
pub id: Id,
pub kind: IdentKind,
}
Expand description
An identifier (either a reference or definition).
This struct represents the syntactic name, use the id
to look up semantic
information.
Fields§
§span: Span
§id: Id
§kind: IdentKind
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ident
impl RefUnwindSafe for Ident
impl Send for Ident
impl Sync for Ident
impl Unpin for Ident
impl UnwindSafe for Ident
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