Struct petgraph::graph::NodeIndex [−][src]
pub struct NodeIndex<Ix = DefaultIx>(_);
Node identifier.
Implementations
impl<Ix: IndexType> NodeIndex<Ix>
[src]
impl<Ix: IndexType> NodeIndex<Ix>
[src]Trait Implementations
impl<Ix: IndexType> GraphIndex for NodeIndex<Ix>
[src]
impl<Ix: IndexType> GraphIndex for NodeIndex<Ix>
[src]impl<N, E, Ty, Ix> Index<NodeIndex<Ix>> for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> Index<NodeIndex<Ix>> for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]Index the Graph
by NodeIndex
to access node weights.
Panics if the node doesn’t exist.
impl<N, E, Ty, Ix> Index<NodeIndex<Ix>> for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> Index<NodeIndex<Ix>> for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]Index the StableGraph
by NodeIndex
to access node weights.
Panics if the node doesn’t exist.
impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> Index<NodeIndex<Ix>> for MatrixGraph<N, E, Ty, Null, Ix>
[src]
impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> Index<NodeIndex<Ix>> for MatrixGraph<N, E, Ty, Null, Ix>
[src]Index the MatrixGraph
by NodeIndex
to access node weights.
Panics if the node doesn’t exist.
impl<N, E, Ty, Ix> IndexMut<NodeIndex<Ix>> for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> IndexMut<NodeIndex<Ix>> for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]Index the Graph
by NodeIndex
to access node weights.
Panics if the node doesn’t exist.
impl<N, E, Ty, Ix> IndexMut<NodeIndex<Ix>> for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> IndexMut<NodeIndex<Ix>> for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]Index the StableGraph
by NodeIndex
to access node weights.
Panics if the node doesn’t exist.
impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> IndexMut<NodeIndex<Ix>> for MatrixGraph<N, E, Ty, Null, Ix>
[src]
impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> IndexMut<NodeIndex<Ix>> for MatrixGraph<N, E, Ty, Null, Ix>
[src]Index the MatrixGraph
by NodeIndex
to access node weights.
Panics if the node doesn’t exist.
impl<Ix: PartialOrd> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix>
[src]
impl<Ix: PartialOrd> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix>
[src]fn partial_cmp(&self, other: &NodeIndex<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<NodeIndex<Ix>> for FixedBitSet where
Ix: IndexType,
[src]
impl<Ix> VisitMap<NodeIndex<Ix>> for FixedBitSet where
Ix: IndexType,
[src]impl<Ix: Copy> Copy for NodeIndex<Ix>
[src]
impl<Ix: Eq> Eq for NodeIndex<Ix>
[src]
impl<Ix> StructuralEq for NodeIndex<Ix>
[src]
impl<Ix> StructuralPartialEq for NodeIndex<Ix>
[src]
Auto Trait Implementations
impl<Ix> RefUnwindSafe for NodeIndex<Ix> where
Ix: RefUnwindSafe,
Ix: RefUnwindSafe,
impl<Ix> Send for NodeIndex<Ix> where
Ix: Send,
Ix: Send,
impl<Ix> Sync for NodeIndex<Ix> where
Ix: Sync,
Ix: Sync,
impl<Ix> Unpin for NodeIndex<Ix> where
Ix: Unpin,
Ix: Unpin,
impl<Ix> UnwindSafe for NodeIndex<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,