Trait GraphNodeIndexable

Source
pub trait GraphNodeIndexable<N>: GraphBase {
    // Required method
    fn node(&self, id: Self::NodeID) -> &N;
}

Required Methods§

Source

fn node(&self, id: Self::NodeID) -> &N

Implementors§

Source§

impl<N, T> GraphNodeIndexable<N> for T
where T: PetgraphDataMap + PetgraphData<NodeWeight = N>,