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