Struct arenatree::NodeId[][src]

pub struct NodeId(pub usize);

An AST node ID for lookups in the arena

Trait Implementations

impl Clone for NodeId

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NodeId

impl Debug for NodeId

Formats the value using the given formatter. Read more

impl PartialEq for NodeId

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for NodeId

impl<'a, T> Index<NodeId> for Arena<'a, T>

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<'a, T> IndexMut<NodeId> for Arena<'a, T>

Performs the mutable indexing (container[index]) operation.

Auto Trait Implementations

impl Send for NodeId

impl Sync for NodeId