Struct proc_macro2::TokenStream[][src]

pub struct TokenStream { /* fields omitted */ }

Methods

impl TokenStream
[src]
[]

Trait Implementations

impl IntoIterator for TokenStream
[src]
[+]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Important traits for IntoIter
[]

Creates an iterator from a value. Read more

impl Clone for TokenStream
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl FromStr for TokenStream
[src]
[+]

The associated error which can be returned from parsing.

[]

Parses a string s to return a value of this type. Read more

impl From<TokenStream> for TokenStream
[src]
[+]

[]

Performs the conversion.

impl From<TokenStream> for TokenStream
[src]
[+]

[]

Performs the conversion.

impl FromIterator<TokenTree> for TokenStream
[src]
[+]

[]

Creates a value from an iterator. Read more

impl Display for TokenStream
[src]
[+]

[]

Formats the value using the given formatter. Read more

impl Debug for TokenStream
[src]
[+]

[]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for TokenStream

impl !Sync for TokenStream