Enum rustc::hir::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), NodeLocal(&'ast Pat), NodePat(&'ast Pat), NodeBlock(&'ast Block), NodeStructCtor(&'ast VariantData), NodeLifetime(&'ast Lifetime), NodeTyParam(&'ast TyParam), }
Unstable (
rustc_private
)Variants
NodeItem(&'ast Item)
Unstable (
rustc_private
)NodeForeignItem(&'ast ForeignItem)
Unstable (
rustc_private
)NodeTraitItem(&'ast TraitItem)
Unstable (
rustc_private
)NodeImplItem(&'ast ImplItem)
Unstable (
rustc_private
)NodeVariant(&'ast Variant)
Unstable (
rustc_private
)NodeExpr(&'ast Expr)
Unstable (
rustc_private
)NodeStmt(&'ast Stmt)
Unstable (
rustc_private
)NodeLocal(&'ast Pat)
Unstable (
rustc_private
)NodePat(&'ast Pat)
Unstable (
rustc_private
)NodeBlock(&'ast Block)
Unstable (
rustc_private
)NodeStructCtor(&'ast VariantData)
Unstable (
rustc_private
)NodeStructCtor represents a tuple struct.
NodeLifetime(&'ast Lifetime)
Unstable (
rustc_private
)NodeTyParam(&'ast TyParam)
Unstable (
rustc_private
)Trait Implementations
Derived Implementations
impl<'ast> Debug for Node<'ast>
[src]
impl<'ast> Clone for Node<'ast>
[src]
fn clone(&self) -> Node<'ast>
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