Trait Indexable

Source
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,