Struct rustc_ap_rustc_ast::tokenstream::TokenStream [−][src]
pub struct TokenStream(_);
Expand description
A TokenStream is an abstract sequence of tokens, organized into TokenTrees.
The goal is for procedural macros to work with TokenStreams and TokenTrees
instead of a representation of the abstract syntax tree.
Today’s TokenTrees can still contain AST via token::Interpolated for
backwards compatibility.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Creates a value from an iterator. Read more
Auto Trait Implementations
impl !RefUnwindSafe for TokenStreamimpl !Send for TokenStreamimpl !Sync for TokenStreamimpl Unpin for TokenStreamimpl !UnwindSafe for TokenStreamBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V