Struct dsp::daggy::EdgeIndex
[−]
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> 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>
fn eq(&self, __arg_0: &EdgeIndex<Ix>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EdgeIndex<Ix>) -> bool
This method tests for !=
.
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