Struct rustc::middle::graph::NodeIndex[src]
pub struct NodeIndex(pub uint);
Methods
impl NodeIndex
fn node_id(&self) -> uint
Returns unique id (unique with respect to the graph holding associated node).
pub struct NodeIndex(pub uint);
impl NodeIndexfn node_id(&self) -> uintReturns unique id (unique with respect to the graph holding associated node).
impl Show for NodeIndeximpl PartialEq for NodeIndeximpl Clone for NodeIndexfn clone(&self) -> NodeIndexfn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).