Trait rustc_ast::ast_traits::HasNodeId
source · [−]pub trait HasNodeId {
fn node_id(&self) -> NodeId;
fn node_id_mut(&mut self) -> &mut NodeId;
}
Expand description
A trait for AST nodes having an ID.
pub trait HasNodeId {
fn node_id(&self) -> NodeId;
fn node_id_mut(&mut self) -> &mut NodeId;
}
A trait for AST nodes having an ID.