pub struct Ident {
pub name: ImmutableString,
pub pos: Position,
}
Expand description
(internals) An identifier containing a name and a position.
Exported under the internals
feature only.
Fields§
§name: ImmutableString
Identifier name.
pos: Position
Position.
Implementations§
Trait Implementations§
source§impl PartialEq<Ident> for Ident
impl PartialEq<Ident> for Ident
impl Eq for Ident
impl StructuralEq for Ident
impl StructuralPartialEq for Ident
Auto Trait Implementations§
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