Struct daggy::EdgeIndex [] [src]

pub struct EdgeIndex<Ix = u32>(_);

Edge identifier.

Methods

impl<Ix> EdgeIndex<Ix> where Ix: IndexType

An invalid EdgeIndex used to denote absence of an edge, for example to end an adjacency list.

Trait Implementations

impl<Ix> Hash for EdgeIndex<Ix> where Ix: Hash

impl<Ix> Debug for EdgeIndex<Ix> where Ix: Debug

Formats the value using the given formatter.

impl<Ix> Ord for EdgeIndex<Ix> where Ix: Ord

impl<Ix> PartialEq<EdgeIndex<Ix>> for EdgeIndex<Ix> where Ix: PartialEq<Ix>

impl<Ix> Default for EdgeIndex<Ix> where Ix: Default

impl<Ix> Clone for EdgeIndex<Ix> where Ix: Clone

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Ix> Copy for EdgeIndex<Ix> where Ix: Copy

impl<Ix> Eq for EdgeIndex<Ix> where Ix: Eq

impl<Ix> PartialOrd<EdgeIndex<Ix>> for EdgeIndex<Ix> where Ix: PartialOrd<Ix>

impl<Ix> GraphIndex for EdgeIndex<Ix> where Ix: IndexType