Struct daggy::EdgeIndex
[−]
[src]
pub struct EdgeIndex<Ix = u32>(_);
Edge identifier.
Methods
impl<Ix> EdgeIndex<Ix> where Ix: IndexType
fn new(x: usize) -> EdgeIndex<Ix>
fn index(self) -> usize
fn end() -> EdgeIndex<Ix>
An invalid EdgeIndex
used to denote absence of an edge, for example
to end an adjacency list.
Trait Implementations
impl<Ix> Debug for EdgeIndex<Ix> where Ix: IndexType
impl<Ix> GraphIndex for EdgeIndex<Ix> where Ix: IndexType
fn index(&self) -> usize
fn is_node_index() -> bool
Derived Implementations
impl<Ix> Hash for EdgeIndex<Ix> where Ix: Hash
impl<Ix> Ord for EdgeIndex<Ix> where Ix: Ord
impl<Ix> Eq for EdgeIndex<Ix> where Ix: Eq
impl<Ix> PartialOrd<EdgeIndex<Ix>> for EdgeIndex<Ix> where Ix: PartialOrd<Ix>
fn partial_cmp(&self, __arg_0: &EdgeIndex<Ix>) -> Option<Ordering>
fn lt(&self, __arg_0: &EdgeIndex<Ix>) -> bool
fn le(&self, __arg_0: &EdgeIndex<Ix>) -> bool
fn gt(&self, __arg_0: &EdgeIndex<Ix>) -> bool
fn ge(&self, __arg_0: &EdgeIndex<Ix>) -> bool
impl<Ix> PartialEq<EdgeIndex<Ix>> for EdgeIndex<Ix> where Ix: PartialEq<Ix>
impl<Ix> Clone for EdgeIndex<Ix> where Ix: Clone
fn clone(&self) -> EdgeIndex<Ix>
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