Enum proc_macro2::TokenTree [−][src]
Variants
Group(Group)
Term(Term)
Op(Op)
Literal(Literal)
Methods
impl TokenTree
[src]
impl TokenTree
Trait Implementations
impl FromIterator<TokenTree> for TokenStream
[src]
impl FromIterator<TokenTree> for TokenStream
fn from_iter<I: IntoIterator<Item = TokenTree>>(streams: I) -> Self
[src]
fn from_iter<I: IntoIterator<Item = TokenTree>>(streams: I) -> Self
Creates a value from an iterator. Read more
impl Clone for TokenTree
[src]
impl Clone for TokenTree
fn clone(&self) -> TokenTree
[src]
fn clone(&self) -> TokenTree
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl From<Group> for TokenTree
[src]
impl From<Group> for TokenTree
impl From<Term> for TokenTree
[src]
impl From<Term> for TokenTree
impl From<Op> for TokenTree
[src]
impl From<Op> for TokenTree
impl From<Literal> for TokenTree
[src]
impl From<Literal> for TokenTree
impl Display for TokenTree
[src]
impl Display for TokenTree
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Debug for TokenTree
[src]
impl Debug for TokenTree