Struct proc_macro2::TokenStream [] [src]

pub struct TokenStream(_);

Methods

impl TokenStream
[src]

Trait Implementations

impl Clone for TokenStream
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl FromStr for TokenStream
[src]

The associated error which can be returned from parsing.

[src]

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

impl From<TokenStream> for TokenStream
[src]

[src]

Performs the conversion.

impl From<TokenTree> for TokenStream
[src]

[src]

Performs the conversion.

impl<T: Into<TokenStream>> FromIterator<T> for TokenStream
[src]

[src]

Creates a value from an iterator. Read more

impl IntoIterator for TokenStream
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl Debug for TokenStream
[src]

[src]

Formats the value using the given formatter.

impl Display for TokenStream
[src]

[src]

Formats the value using the given formatter. Read more