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.

Required Methods§

source

fn node_id(&self) -> NodeId

source

fn node_id_mut(&mut self) -> &mut NodeId

Implementors§