pub struct Ident {
pub name: String,
pub span: Span,
}Expand description
A name with its place in the source.
Fields§
§name: StringThe name.
span: SpanWhere it is.
Trait Implementations§
impl StructuralPartialEq for Ident
Auto Trait Implementations§
impl Forget for Ident
impl Freeze for Ident
impl Move for Ident
impl RefUnwindSafe for Ident
impl Send for Identwhere
RawVecInner: Send,
impl Sync for Identwhere
RawVecInner: Sync,
impl Unpin for Ident
impl UnsafeUnpin for Ident
impl UnwindSafe for Identwhere
RawVecInner: UnwindSafe,
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