Trait AdjacencyIndex

Source
pub trait AdjacencyIndex {
    type VIndex: Copy + Eq;

    // Required method
    fn vindex(&self) -> Self::VIndex;
}

Required Associated Types§

Required Methods§

Source

fn vindex(&self) -> Self::VIndex

Implementations on Foreign Types§

Source§

impl AdjacencyIndex for usize

Source§

type VIndex = usize

Source§

fn vindex(&self) -> Self::VIndex

Source§

impl<V, E> AdjacencyIndex for (V, E)
where V: Copy + Eq, E: Copy + Eq,

Source§

type VIndex = V

Source§

fn vindex(&self) -> Self::VIndex

Implementors§

Source§

impl AdjacencyIndex for Adjacency

Source§

impl<V> AdjacencyIndex for VIndex<V>
where V: Eq + Copy,

Source§

impl<V, E> AdjacencyIndex for VIndexWithEIndex<V, E>
where V: Eq + Copy,

Source§

impl<V, E, T> AdjacencyIndex for VIndexWithEIndexValue<V, E, T>
where V: Eq + Copy,

Source§

impl<V, T> AdjacencyIndex for VIndexWithValue<V, T>
where V: Eq + Copy,