Struct petgraph::graph::EdgeIndex [−][src]
pub struct EdgeIndex<Ix = DefaultIx>(_);
Edge identifier.
Implementations
impl<Ix: IndexType> EdgeIndex<Ix>
[src]
impl<Ix: IndexType> EdgeIndex<Ix>
[src]Trait Implementations
impl<Ix: IndexType> GraphIndex for EdgeIndex<Ix>
[src]
impl<Ix: IndexType> GraphIndex for EdgeIndex<Ix>
[src]impl<N, E, Ty, Ix> Index<EdgeIndex<Ix>> for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> Index<EdgeIndex<Ix>> for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]Index the Graph
by EdgeIndex
to access edge weights.
Panics if the edge doesn’t exist.
impl<N, E, Ty, Ix> Index<EdgeIndex<Ix>> for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> Index<EdgeIndex<Ix>> for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]Index the StableGraph
by EdgeIndex
to access edge weights.
Panics if the edge doesn’t exist.
impl<N, E, Ty, Ix> IndexMut<EdgeIndex<Ix>> for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> IndexMut<EdgeIndex<Ix>> for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]Index the Graph
by EdgeIndex
to access edge weights.
Panics if the edge doesn’t exist.
impl<N, E, Ty, Ix> IndexMut<EdgeIndex<Ix>> for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> IndexMut<EdgeIndex<Ix>> for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]Index the StableGraph
by EdgeIndex
to access edge weights.
Panics if the edge doesn’t exist.
impl<Ix: PartialOrd> PartialOrd<EdgeIndex<Ix>> for EdgeIndex<Ix>
[src]
impl<Ix: PartialOrd> PartialOrd<EdgeIndex<Ix>> for EdgeIndex<Ix>
[src]fn partial_cmp(&self, other: &EdgeIndex<Ix>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl<Ix> VisitMap<EdgeIndex<Ix>> for FixedBitSet where
Ix: IndexType,
[src]
impl<Ix> VisitMap<EdgeIndex<Ix>> for FixedBitSet where
Ix: IndexType,
[src]impl<Ix: Copy> Copy for EdgeIndex<Ix>
[src]
impl<Ix: Eq> Eq for EdgeIndex<Ix>
[src]
impl<Ix> StructuralEq for EdgeIndex<Ix>
[src]
impl<Ix> StructuralPartialEq for EdgeIndex<Ix>
[src]
Auto Trait Implementations
impl<Ix> RefUnwindSafe for EdgeIndex<Ix> where
Ix: RefUnwindSafe,
Ix: RefUnwindSafe,
impl<Ix> Send for EdgeIndex<Ix> where
Ix: Send,
Ix: Send,
impl<Ix> Sync for EdgeIndex<Ix> where
Ix: Sync,
Ix: Sync,
impl<Ix> Unpin for EdgeIndex<Ix> where
Ix: Unpin,
Ix: Unpin,
impl<Ix> UnwindSafe for EdgeIndex<Ix> where
Ix: UnwindSafe,
Ix: UnwindSafe,
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<N> NodeTrait for N where
N: Copy + Ord + Hash,
[src]
N: Copy + Ord + Hash,