Enum 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 AttrAnnotatedTokenTreeimpl !Send for AttrAnnotatedTokenTreeimpl !Sync for AttrAnnotatedTokenTreeimpl Unpin for AttrAnnotatedTokenTreeimpl !UnwindSafe for AttrAnnotatedTokenTreeBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes