Struct rustc_data_structures::graph::EdgeIndex
[−]
[src]
pub struct EdgeIndex(pub usize);
Unstable (
rustc_private)Methods
impl EdgeIndex[src]
fn edge_id(&self) -> usize
Unstable (
rustc_private)Returns unique id (unique with respect to the graph holding associated edge).
Trait Implementations
Derived Implementations
impl Hash for EdgeIndex[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Debug for EdgeIndex[src]
impl Eq for EdgeIndex[src]
impl PartialEq for EdgeIndex[src]
fn eq(&self, __arg_0: &EdgeIndex) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &EdgeIndex) -> bool
This method tests for !=.
impl Clone for EdgeIndex[src]
fn clone(&self) -> EdgeIndex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more