Enum rustc_ap_rustc_ast::tokenstream::AttrAnnotatedTokenTree [−][src]
pub enum AttrAnnotatedTokenTree { Token(Token), Delimited(DelimSpan, DelimToken, AttrAnnotatedTokenStream), Attributes(AttributesData), }
Expand description
Like TokenTree
, but for AttrAnnotatedTokenStream
Variants
Token(Token)
Delimited(DelimSpan, DelimToken, AttrAnnotatedTokenStream)
Attributes(AttributesData)
Stores the attributes for an attribute target,
along with the tokens for that attribute target.
See AttributesData
for more information
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AttrAnnotatedTokenTree
impl !Send for AttrAnnotatedTokenTree
impl !Sync for AttrAnnotatedTokenTree
impl Unpin for AttrAnnotatedTokenTree
impl !UnwindSafe for AttrAnnotatedTokenTree
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V