pub trait ProcMacroExt: ProcMacro<PM = Self::PMExt, Delimiter = Self::DelimiterExt, Group = Self::GroupExt, Ident = Self::IdentExt, Literal = Self::LiteralExt, Punct = Self::PunctExt, Spacing = Self::SpacingExt, Span = Self::SpanExt, TokenStream = Self::TokenStreamExt, TokenTree = Self::TokenTreeExt, TokenStreamIntoIter = Self::TokenStreamExtIntoIter> {
type PMExt: PMExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>;
type DelimiterExt: DelimiterExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>;
type GroupExt: GroupExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>;
type IdentExt: IdentExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>;
type LiteralExt: LiteralExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>;
type PunctExt: PunctExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>;
type SpacingExt: SpacingExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>;
type SpanExt: SpanExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>;
type TokenStreamExt: TokenStreamExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>;
type TokenTreeExt: TokenTreeExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>;
type TokenStreamExtIntoIter: Clone + Iterator<Item = Self::TokenTreeExt>;
}
Expand description
Adds extra bounds to the associated types of ProcMacro
to enable extension traits.
You can keep using the types defined in ProcMacro
; the associated types of this trait
should be considered an implementation detail.
Required Associated Types§
Sourcetype PMExt: PMExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
type PMExt: PMExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
Implementation detail to enable extension traits. Use ProcMacro::PM
instead.
Sourcetype DelimiterExt: DelimiterExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
type DelimiterExt: DelimiterExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
Implementation detail to enable extension traits. Use ProcMacro::Delimiter
instead.
Sourcetype GroupExt: GroupExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
type GroupExt: GroupExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
Implementation detail to enable extension traits. Use ProcMacro::Group
instead.
Sourcetype IdentExt: IdentExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
type IdentExt: IdentExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
Implementation detail to enable extension traits. Use ProcMacro::Ident
instead.
Sourcetype LiteralExt: LiteralExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
type LiteralExt: LiteralExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
Implementation detail to enable extension traits. Use ProcMacro::Literal
instead.
Sourcetype PunctExt: PunctExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
type PunctExt: PunctExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
Implementation detail to enable extension traits. Use ProcMacro::Punct
instead.
Sourcetype SpacingExt: SpacingExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
type SpacingExt: SpacingExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
Implementation detail to enable extension traits. Use ProcMacro::Spacing
instead.
Sourcetype SpanExt: SpanExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
type SpanExt: SpanExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
Implementation detail to enable extension traits. Use ProcMacro::Span
instead.
Sourcetype TokenStreamExt: TokenStreamExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
type TokenStreamExt: TokenStreamExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
Implementation detail to enable extension traits. Use ProcMacro::TokenStream
instead.
Sourcetype TokenTreeExt: TokenTreeExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
type TokenTreeExt: TokenTreeExt<PMExt = Self::PMExt, DelimiterExt = Self::DelimiterExt, GroupExt = Self::GroupExt, IdentExt = Self::IdentExt, LiteralExt = Self::LiteralExt, PunctExt = Self::PunctExt, SpacingExt = Self::SpacingExt, SpanExt = Self::SpanExt, TokenStreamExt = Self::TokenStreamExt, TokenTreeExt = Self::TokenTreeExt, TokenStreamExtIntoIter = Self::TokenStreamExtIntoIter>
Implementation detail to enable extension traits. Use ProcMacro::TokenTree
instead.
Sourcetype TokenStreamExtIntoIter: Clone + Iterator<Item = Self::TokenTreeExt>
type TokenStreamExtIntoIter: Clone + Iterator<Item = Self::TokenTreeExt>
Implementation detail to enable extension traits. Use ProcMacro::TokenStreamIntoIter
instead.
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 ProcMacroExt for Delimiter
Available on crate feature proc-macro
only.
impl ProcMacroExt for Delimiter
proc-macro
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Spacing
Available on crate feature proc-macro
only.
impl ProcMacroExt for Spacing
proc-macro
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for TokenTree
Available on crate feature proc-macro
only.
impl ProcMacroExt for TokenTree
proc-macro
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Delimiter
Available on crate feature proc-macro2
only.
impl ProcMacroExt for Delimiter
proc-macro2
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Spacing
Available on crate feature proc-macro2
only.
impl ProcMacroExt for Spacing
proc-macro2
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for TokenTree
Available on crate feature proc-macro2
only.
impl ProcMacroExt for TokenTree
proc-macro2
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Group
Available on crate feature proc-macro
only.
impl ProcMacroExt for Group
proc-macro
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Ident
Available on crate feature proc-macro
only.
impl ProcMacroExt for Ident
proc-macro
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Literal
Available on crate feature proc-macro
only.
impl ProcMacroExt for Literal
proc-macro
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Punct
Available on crate feature proc-macro
only.
impl ProcMacroExt for Punct
proc-macro
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Span
Available on crate feature proc-macro
only.
impl ProcMacroExt for Span
proc-macro
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for TokenStream
Available on crate feature proc-macro
only.
impl ProcMacroExt for TokenStream
proc-macro
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Group
Available on crate feature proc-macro2
only.
impl ProcMacroExt for Group
proc-macro2
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Ident
Available on crate feature proc-macro2
only.
impl ProcMacroExt for Ident
proc-macro2
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Literal
Available on crate feature proc-macro2
only.
impl ProcMacroExt for Literal
proc-macro2
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Punct
Available on crate feature proc-macro2
only.
impl ProcMacroExt for Punct
proc-macro2
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for Span
Available on crate feature proc-macro2
only.
impl ProcMacroExt for Span
proc-macro2
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for TokenStream
Available on crate feature proc-macro2
only.
impl ProcMacroExt for TokenStream
proc-macro2
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Implementors§
Source§impl ProcMacroExt for proclet::PM1
Available on crate feature proc-macro
only.
impl ProcMacroExt for proclet::PM1
proc-macro
only.type PMExt = PM
type DelimiterExt = Delimiter
type GroupExt = Group
type IdentExt = Ident
type LiteralExt = Literal
type PunctExt = Punct
type SpacingExt = Spacing
type SpanExt = Span
type TokenStreamExt = TokenStream
type TokenTreeExt = TokenTree
type TokenStreamExtIntoIter = IntoIter
Source§impl ProcMacroExt for proclet::PM2
Available on crate feature proc-macro2
only.
impl ProcMacroExt for proclet::PM2
proc-macro2
only.