[][src]Trait traitgraph::GraphIndex

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

Required methods

fn as_usize(self) -> usize

Get this index as usize.

Loading content...

Implementors

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

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

Loading content...