Function petgraph::util::enumerate

source ยท
pub fn enumerate<I>(iterable: I) -> Enumerate<I::IntoIter>
where I: IntoIterator,