1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
pub mod get_iter; pub mod indexed; pub mod mut_iter; pub mod simple; use crate::Graph; use std::borrow::Cow; pub trait Node { fn index(&self) -> usize; } pub trait IntoNode { type Node: Node; fn into_node(self) -> Self::Node; }