pub trait Indexer<T> {
// Required method
fn index(&mut self, v: T) -> usize;
}
Expand description
A trait defining how to defined an Indexer. An indexer is a object that collects verticies and emits indexes for the vertex. The intent is that an Indexer can find redundent vertexes and deduplicate them by returning aliased indexes.