Enum syntax::ast_map::Node [−] [src]

pub enum Node<'ast> {
    NodeItem(&'ast Item),
    NodeForeignItem(&'ast ForeignItem),
    NodeTraitItem(&'ast TraitItem),
    NodeImplItem(&'ast ImplItem),
    NodeVariant(&'ast Variant),
    NodeExpr(&'ast Expr),
    NodeStmt(&'ast Stmt),
    NodeArg(&'ast Pat),
    NodeLocal(&'ast Pat),
    NodePat(&'ast Pat),
    NodeBlock(&'ast Block),
    NodeStructCtor(&'ast StructDef),
    NodeLifetime(&'ast Lifetime),
}
Unstable

Variants

NodeItem
Unstable
NodeForeignItem
Unstable
NodeTraitItem
Unstable
NodeImplItem
Unstable
NodeVariant
Unstable
NodeExpr
Unstable
NodeStmt
Unstable
NodeArg
Unstable
NodeLocal
Unstable
NodePat
Unstable
NodeBlock
Unstable
NodeStructCtor
Unstable

NodeStructCtor represents a tuple struct.

NodeLifetime
Unstable

Trait Implementations

Derived Implementations

impl<'ast> Debug for Node<'ast>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<'ast> Clone for Node<'ast>

fn clone(&self) -> Node<'ast>

fn clone_from(&mut self, source: &Self)

impl<'ast> Copy for Node<'ast>