pub trait HasIndex<'a> { // Required method fn get_index(self, graph: &mut FeatGraph<'a>) -> Result<NodeIndex>; }