pub trait IntoTokenTree: IntoTokens + IntoTokenTree {
// Required methods
fn into_token_tree(self) -> TokenTree;
fn into_token_tree2(self) -> TokenTree2;
}Expand description
Into a token tree.
This trait is sealed and all methods are provided.
Required Methods§
fn into_token_tree(self) -> TokenTree
Available on crate feature
proc-macro only.fn into_token_tree2(self) -> TokenTree2
Available on crate feature
proc-macro2 only.Implementations on Foreign Types§
Source§impl IntoTokenTree for TT
Available on crate feature proc-macro and (crate features proc-macro or proc-macro2) only.
impl IntoTokenTree for TT
Available on crate feature
proc-macro and (crate features proc-macro or proc-macro2) only.fn into_token_tree(self) -> TokenTree
Source§fn into_token_tree2(self) -> TokenTree
fn into_token_tree2(self) -> TokenTree
Available on crate feature
proc-macro2 only.Source§impl IntoTokenTree for TT
Available on crate feature proc-macro2 and (crate features proc-macro or proc-macro2) only.
impl IntoTokenTree for TT
Available on crate feature
proc-macro2 and (crate features proc-macro or proc-macro2) only.Source§fn into_token_tree(self) -> TokenTree
fn into_token_tree(self) -> TokenTree
Available on crate feature
proc-macro only.fn into_token_tree2(self) -> TokenTree
Source§impl IntoTokenTree for TT
Available on crate feature proc-macro and (crate features proc-macro or proc-macro2) only.
impl IntoTokenTree for TT
Available on crate feature
proc-macro and (crate features proc-macro or proc-macro2) only.fn into_token_tree(self) -> TokenTree
Source§fn into_token_tree2(self) -> TokenTree
fn into_token_tree2(self) -> TokenTree
Available on crate feature
proc-macro2 only.Source§impl IntoTokenTree for TT
Available on crate feature proc-macro and (crate features proc-macro or proc-macro2) only.
impl IntoTokenTree for TT
Available on crate feature
proc-macro and (crate features proc-macro or proc-macro2) only.fn into_token_tree(self) -> TokenTree
Source§fn into_token_tree2(self) -> TokenTree
fn into_token_tree2(self) -> TokenTree
Available on crate feature
proc-macro2 only.Source§impl IntoTokenTree for TT
Available on crate feature proc-macro and (crate features proc-macro or proc-macro2) only.
impl IntoTokenTree for TT
Available on crate feature
proc-macro and (crate features proc-macro or proc-macro2) only.fn into_token_tree(self) -> TokenTree
Source§fn into_token_tree2(self) -> TokenTree
fn into_token_tree2(self) -> TokenTree
Available on crate feature
proc-macro2 only.Source§impl IntoTokenTree for TT
Available on crate feature proc-macro and (crate features proc-macro or proc-macro2) only.
impl IntoTokenTree for TT
Available on crate feature
proc-macro and (crate features proc-macro or proc-macro2) only.fn into_token_tree(self) -> TokenTree
Source§fn into_token_tree2(self) -> TokenTree
fn into_token_tree2(self) -> TokenTree
Available on crate feature
proc-macro2 only.Source§impl IntoTokenTree for TT
Available on crate feature proc-macro2 and (crate features proc-macro or proc-macro2) only.
impl IntoTokenTree for TT
Available on crate feature
proc-macro2 and (crate features proc-macro or proc-macro2) only.Source§fn into_token_tree(self) -> TokenTree
fn into_token_tree(self) -> TokenTree
Available on crate feature
proc-macro only.fn into_token_tree2(self) -> TokenTree
Source§impl IntoTokenTree for TT
Available on crate feature proc-macro2 and (crate features proc-macro or proc-macro2) only.
impl IntoTokenTree for TT
Available on crate feature
proc-macro2 and (crate features proc-macro or proc-macro2) only.Source§fn into_token_tree(self) -> TokenTree
fn into_token_tree(self) -> TokenTree
Available on crate feature
proc-macro only.fn into_token_tree2(self) -> TokenTree
Source§impl IntoTokenTree for TT
Available on crate feature proc-macro2 and (crate features proc-macro or proc-macro2) only.
impl IntoTokenTree for TT
Available on crate feature
proc-macro2 and (crate features proc-macro or proc-macro2) only.Source§fn into_token_tree(self) -> TokenTree
fn into_token_tree(self) -> TokenTree
Available on crate feature
proc-macro only.fn into_token_tree2(self) -> TokenTree
Source§impl IntoTokenTree for TT
Available on crate feature proc-macro2 and (crate features proc-macro or proc-macro2) only.
impl IntoTokenTree for TT
Available on crate feature
proc-macro2 and (crate features proc-macro or proc-macro2) only.Source§fn into_token_tree(self) -> TokenTree
fn into_token_tree(self) -> TokenTree
Available on crate feature
proc-macro only.fn into_token_tree2(self) -> TokenTree
Source§impl<T: ?Sized + IntoTokenTree> IntoTokenTree for Box<T>
Available on crate feature alloc only.
impl<T: ?Sized + IntoTokenTree> IntoTokenTree for Box<T>
Available on crate feature
alloc only.Source§fn into_token_tree(self) -> TokenTree
fn into_token_tree(self) -> TokenTree
Available on crate feature
proc-macro only.Source§fn into_token_tree2(self) -> TokenTree
fn into_token_tree2(self) -> TokenTree
Available on crate feature
proc-macro2 only.Source§impl<T: ?Sized + ToTokenTree> IntoTokenTree for &T
impl<T: ?Sized + ToTokenTree> IntoTokenTree for &T
Source§fn into_token_tree(self) -> TokenTree
fn into_token_tree(self) -> TokenTree
Available on crate feature
proc-macro only.Source§fn into_token_tree2(self) -> TokenTree2
fn into_token_tree2(self) -> TokenTree2
Available on crate feature
proc-macro2 only.Source§impl<T: ?Sized + ToTokenTree> IntoTokenTree for Rc<T>
Available on crate feature alloc only.
impl<T: ?Sized + ToTokenTree> IntoTokenTree for Rc<T>
Available on crate feature
alloc only.Source§fn into_token_tree(self) -> TokenTree
fn into_token_tree(self) -> TokenTree
Available on crate feature
proc-macro only.Source§fn into_token_tree2(self) -> TokenTree
fn into_token_tree2(self) -> TokenTree
Available on crate feature
proc-macro2 only.