Struct standalone_proc_macro2::TokenTree
[−]
[src]
pub struct TokenTree { pub span: Span, pub kind: TokenNode, }
Fields
span: Span
kind: TokenNode
Trait Implementations
impl From<TokenTree> for TokenStream
[src]
fn from(tree: TokenTree) -> TokenStream
[src]
Performs the conversion.
impl Clone for TokenTree
[src]
fn clone(&self) -> TokenTree
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for TokenTree
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more