Struct arenatree::NodeId[][src]

pub struct NodeId(pub usize);

An AST node ID for lookups in the arena

Trait Implementations

impl Clone for NodeId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NodeId
[src]

impl Debug for NodeId
[src]

Formats the value using the given formatter. Read more

impl PartialEq for NodeId
[src]

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
[src]

impl<'a, T> Index<NodeId> for Arena<'a, T>
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<'a, T> IndexMut<NodeId> for Arena<'a, T>
[src]

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

Auto Trait Implementations

impl Send for NodeId

impl Sync for NodeId