Struct rustc::middle::graph::NodeIndexUnstable [-] [+] [src]

pub struct NodeIndex(pub usize);

Methods

impl NodeIndex

[-]fn node_id(&self) -> usize

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 Copy for NodeIndex

impl Clone for NodeIndex

fn clone(&self) -> NodeIndex

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