Trait proclet::ProcMacroExt
source · 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.
Object Safety§
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.