Trait petgraph::data::DataMapMut [] [src]

pub trait DataMapMut: DataMap {
    fn node_weight_mut(
        &mut self,
        id: Self::NodeId
    ) -> Option<&mut Self::NodeWeight>;
fn edge_weight_mut(
        &mut self,
        id: Self::EdgeId
    ) -> Option<&mut Self::EdgeWeight>; }

Access node and edge weights mutably.

Required Methods

Implementations on Foreign Types

impl<'a, G> DataMapMut for &'a mut G where
    G: DataMapMut
[src]

[src]

[src]

Implementors