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<Ident>, IdentStyle), 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
NtItem | ||
NtBlock | ||
NtStmt | ||
NtPat | ||
NtExpr | ||
NtTy | ||
NtIdent | ||
NtMeta | Stuff inside brackets for attributes | |
NtPath | ||
NtTT | ||
NtArm | ||
NtImplItem | ||
NtTraitItem | ||
NtGenerics | ||
NtWhereClause | ||
NtArg |
Trait Implementations
impl Debug for Nonterminal
[src]
Derived Implementations
impl Hash for Nonterminal
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Eq for Nonterminal
[src]
impl PartialEq for Nonterminal
[src]
fn eq(&self, __arg_0: &Nonterminal) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Nonterminal) -> bool
This method tests for !=
.
impl Decodable for Nonterminal
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Nonterminal, __D::Error>
impl Encodable for Nonterminal
[src]
impl Clone for Nonterminal
[src]
fn clone(&self) -> Nonterminal
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more