Traits§
- Lookahead
Token - Trait defining a token that can be consumed by
syn::parse::ParseBuffer::step
.
Functions§
- accumulate_
while - Accumulate
proc_macro2::TokenTree
into aproc_macro2::TokenStream
while the given predicate returnstrue
returning a tuple containing the resultingproc_macro2::TokenStream
and asyn::buffer::Cursor
positioned at the point where accumulation ended.