You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A method edge_references_mut(&mut self) -> EdgeReferencesMut<...> would be nice.
Motivation
For my use case, the edges data are FnMut closures so calling them requires mutable access. When I can, I use edge_weights_mut(&mut self) -> EdgeWeightsMut<'_, E, Ix> but sometimes I need the EdgeRef trait source and target methods.
Details
Unless I am missing something, this should be quite straightforward to implement. I can do a PR if there is interest.
The text was updated successfully, but these errors were encountered:
Summary
A method
edge_references_mut(&mut self) -> EdgeReferencesMut<...>
would be nice.Motivation
For my use case, the edges data are
FnMut
closures so calling them requires mutable access. When I can, I useedge_weights_mut
(&mut self) ->
EdgeWeightsMut
<'_, E, Ix>
but sometimes I need theEdgeRef
traitsource
andtarget
methods.Details
Unless I am missing something, this should be quite straightforward to implement. I can do a PR if there is interest.
The text was updated successfully, but these errors were encountered: