petgraph
0.6.5
Node
Index
Trait Implementations
NodeRef
In petgraph::
adj
petgraph
::
adj
Type Alias
NodeIndex
Copy item path
source
pub type NodeIndex<Ix =
DefaultIx
> = Ix;
Expand description
Adjacency list node index type, a plain integer.
Trait Implementations
§
source
§
impl<Ix:
IndexType
>
NodeRef
for
NodeIndex
<Ix>
source
§
type
NodeId
= Ix
source
§
type
Weight
=
()
source
§
fn
id
(&self) -> Self::
NodeId
source
§
fn
weight
(&self) -> &Self::
Weight