[−][src]Trait petgraph::visit::NodeRef
A node reference.
Associated Types
Loading content...Required methods
Loading content...Implementations on Foreign Types
impl<Id> NodeRef for (Id, ()) where
Id: Copy,
[src]
Id: Copy,
type NodeId = Id
type Weight = ()
fn id(&self) -> Self::NodeId
[src]
fn weight(&self) -> &Self::Weight
[src]
impl<'a, Id, W> NodeRef for (Id, &'a W) where
Id: Copy,
[src]
Id: Copy,