[][src]Trait bigraph::GraphIndex

pub trait GraphIndex<PartnerOptionalGraphIndex>: Eq + Ord + Into<PartnerOptionalGraphIndex> + From<usize> + Copy + Add<usize, Output = Self> + Debug where
    PartnerOptionalGraphIndex: OptionalGraphIndex<Self>, 
{ fn as_usize(self) -> usize; }

Required methods

fn as_usize(self) -> usize

Get this index as usize.

Loading content...

Implementors

impl<IndexType> GraphIndex<OptionalEdgeIndex<IndexType>> for EdgeIndex<IndexType> where
    IndexType: PrimInt
[src]

impl<IndexType> GraphIndex<OptionalNodeIndex<IndexType>> for NodeIndex<IndexType> where
    IndexType: PrimInt
[src]

Loading content...