Struct codgenhelp::TokenStream1.15.0 [] [src]

pub struct TokenStream { /* fields omitted */ }

The main type provided by this crate, representing an abstract stream of tokens.

This is both the input and output of #[proc_macro_derive] definitions. Currently it's required to be a list of valid Rust items, but this restriction may be lifted in the future.

The API of this type is intentionally bare-bones, but it'll be expanded over time!

Trait Implementations

impl Display for TokenStream
[src]

impl FromStr for TokenStream
[src]