petgraph::graph_impl::stable_graph

Function swap_pair

Source
fn swap_pair<T>(x: [T; 2]) -> [T; 2]