petgraph::graph_impl

Function index_twice

Source
fn index_twice<T>(slc: &mut [T], a: usize, b: usize) -> Pair<&mut T>
Expand description

Get mutable references at index a and b.