A positive, small ID assigned to nodes in the AST and derived data structures. Used as a lightweight way to refer to individual nodes, e.g. during symbol table construction and name resolution.
Allocate a new unused ID. The IDs generated by this function are monotonically increasing.
pub fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl IntoNodeEnvId for NodeId[src]
impl PartialOrd<NodeId> for NodeId[src]
pub fn partial_cmp(&self, other: &NodeId) -> Option<Ordering>[src]
impl StructuralEq for NodeId[src]
impl StructuralPartialEq for NodeId[src]
impl<'a> WalkVisitor<'a> for NodeId[src]
impl RefUnwindSafe for NodeId[src]
impl UnwindSafe for NodeId[src]
type Init = T
The type for initializers.
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.