Function LruIndexer.index

index the given vertex. returns the index. if the vertex was not indexed yet, vfun is called with the vertex as argument

LruIndexer.IndexType index(VOR) (
  in LruIndexer.VertexType vertex,
  VOR vertexOutRange
)
if (isOutputRange!(VOR, VertexType));