Struct proc_macro::bridge::Ident
source · pub struct Ident<Span, Symbol> {
pub sym: Symbol,
pub is_raw: bool,
pub span: Span,
}
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Fields§
§sym: Symbol
🔬This is a nightly-only experimental API. (
§proc_macro_internals
#27812)is_raw: bool
🔬This is a nightly-only experimental API. (
§proc_macro_internals
#27812)span: Span
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Trait Implementations§
source§impl<'a, S, Span: for<'s> DecodeMut<'a, 's, S>, Symbol: for<'s> DecodeMut<'a, 's, S>> DecodeMut<'a, '_, S> for Ident<Span, Symbol>
impl<'a, S, Span: for<'s> DecodeMut<'a, 's, S>, Symbol: for<'s> DecodeMut<'a, 's, S>> DecodeMut<'a, '_, S> for Ident<Span, Symbol>
source§impl<Span: Eq, Symbol: Eq> Eq for Ident<Span, Symbol>
impl<Span: Eq, Symbol: Eq> Eq for Ident<Span, Symbol>
fn assert_receiver_is_total_eq(&self)
source§impl<Span: PartialEq, Symbol: PartialEq> PartialEq<Ident<Span, Symbol>> for Ident<Span, Symbol>
impl<Span: PartialEq, Symbol: PartialEq> PartialEq<Ident<Span, Symbol>> for Ident<Span, Symbol>
impl<Span: Copy, Symbol: Copy> Copy for Ident<Span, Symbol>
impl<Span, Symbol> StructuralEq for Ident<Span, Symbol>
impl<Span, Symbol> StructuralPartialEq for Ident<Span, Symbol>
Auto Trait Implementations§
impl<Span, Symbol> RefUnwindSafe for Ident<Span, Symbol>where Span: RefUnwindSafe, Symbol: RefUnwindSafe,
impl<Span, Symbol> Send for Ident<Span, Symbol>where Span: Send, Symbol: Send,
impl<Span, Symbol> Sync for Ident<Span, Symbol>where Span: Sync, Symbol: Sync,
impl<Span, Symbol> Unpin for Ident<Span, Symbol>where Span: Unpin, Symbol: Unpin,
impl<Span, Symbol> UnwindSafe for Ident<Span, Symbol>where Span: UnwindSafe, Symbol: 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