pub trait Indexable {
    // Required method
    fn index(&self) -> usize;
}
Expand description

An item that has an index.

Required Methods§

source

fn index(&self) -> usize

Implementors§

source§

impl<E> Indexable for NetworkEdge<E>where E: Indexable,

source§

impl<ID> Indexable for rs_graph::linkedlistgraph::Edge<ID>where ID: PrimInt + Unsigned,

source§

impl<ID> Indexable for rs_graph::linkedlistgraph::Node<ID>where ID: PrimInt + Unsigned,

source§

impl<ID> Indexable for rs_graph::vecgraph::Edge<ID>where ID: PrimInt + Unsigned,

source§

impl<ID> Indexable for rs_graph::vecgraph::Node<ID>where ID: PrimInt + Unsigned,