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