Trait IdentExt

Source
pub trait IdentExt:
    ProcMacroExt<IdentExt = Self>
    + Ident
    + Parse<Self::TokenTree>
    + IntoTokens<Self::TokenTree>
    + ToTokens<Self::TokenTree>
    + ToTokenStream<Self::TokenStream> { }
Expand description

Extensions for Ident.

This trait is implemented for Ident in proc_macro and proc_macro2 if the corresponding feature is enabled.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IdentExt for Ident

Available on crate feature proc-macro only.
Source§

impl IdentExt for Ident

Available on crate feature proc-macro2 only.

Implementors§