Enum rustc_ast::token::Nonterminal [−][src]
pub enum Nonterminal {
}Expand description
For interpolation during macro expansion.
Variants
NtItem(P<Item>)
NtBlock(P<Block>)
NtStmt(Stmt)
Tuple Fields
0: StmtNtPat(P<Pat>)
NtExpr(P<Expr>)
NtTy(P<Ty>)
NtIdent(Ident, bool)
NtLifetime(Ident)
Tuple Fields
0: IdentNtLiteral(P<Expr>)
NtMeta(P<AttrItem>)
Stuff inside brackets for attributes
NtPath(Path)
Tuple Fields
0: PathNtVis(Visibility)
Tuple Fields
0: VisibilityNtTT(TokenTree)
Tuple Fields
0: TokenTreeImplementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Nonterminal
impl !Send for Nonterminal
impl !Sync for Nonterminal
impl Unpin for Nonterminal
impl !UnwindSafe for Nonterminal
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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: 48 bytes
Size for each variant:
NtItem: 15 bytesNtBlock: 15 bytesNtStmt: 39 bytesNtPat: 15 bytesNtExpr: 15 bytesNtTy: 15 bytesNtIdent: 15 bytesNtLifetime: 15 bytesNtLiteral: 15 bytesNtMeta: 15 bytesNtPath: 47 bytesNtVis: 39 bytesNtTT: 39 bytes