Type Alias petgraph::adj::NodeIndex

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