Struct rustc_data_structures::graph::NodeIndex [−] [src]

pub struct NodeIndex(pub usize);
Unstable

Methods

impl NodeIndex

fn node_id(&self) -> usize

Unstable

Returns unique id (unique with respect to the graph holding associated node).

Trait Implementations

Derived Implementations

impl Debug for NodeIndex

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for NodeIndex

fn eq(&self, __arg_0: &NodeIndex) -> bool

fn ne(&self, __arg_0: &NodeIndex) -> bool

impl Clone for NodeIndex

fn clone(&self) -> NodeIndex

fn clone_from(&mut self, source: &Self)

impl Copy for NodeIndex