Skip to main content

AdjacencyIndex

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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,