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

pub enum Nonterminal {
    NtItem(P<Item>),
    NtBlock(P<Block>),
    NtStmt(P<Stmt>),
    NtPat(P<Pat>),
    NtExpr(P<Expr>),
    NtTy(P<Ty>),
    NtIdent(Box<SpannedIdent>),
    NtMeta(P<MetaItem>),
    NtPath(Box<Path>),
    NtTT(P<TokenTree>),
    NtArm(Arm),
    NtImplItem(P<ImplItem>),
    NtTraitItem(P<TraitItem>),
    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 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 Eq for Nonterminal
[src]

impl Hash for Nonterminal
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for Nonterminal
[src]

Formats the value using the given formatter.