Enum syntax::parse::token::Nonterminal[][src]

pub enum Nonterminal {
    NtItem(P<Item>),
    NtBlock(P<Block>),
    NtStmt(Stmt),
    NtPat(P<Pat>),
    NtExpr(P<Expr>),
    NtTy(P<Ty>),
    NtIdent(Identbool),
    NtLifetime(Ident),
    NtLiteral(P<Expr>),
    NtMeta(MetaItem),
    NtPath(Path),
    NtVis(Visibility),
    NtTT(TokenTree),
    NtArm(Arm),
    NtImplItem(ImplItem),
    NtTraitItem(TraitItem),
    NtForeignItem(ForeignItem),
    NtGenerics(Generics),
    NtWhereClause(WhereClause),
    NtArg(Arg),
}

For interpolation during macro expansion.

Variants

Stuff inside brackets for attributes

Trait Implementations

impl Clone for Nonterminal
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for Nonterminal
[src]

impl Decodable for Nonterminal
[src]

impl Eq for Nonterminal
[src]

impl Hash for Nonterminal
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Nonterminal
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Nonterminal
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Nonterminal

impl !Sync for Nonterminal