Type Definition petgraph::csr::NodeIndex
[−]
[src]
type NodeIndex<Ix = DefaultIx> = Ix;
Csr node index type, a plain integer.
Trait Implementations
impl<N, E, Ty, Ix> Index<NodeIndex<Ix>> for Csr<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
Ty: EdgeType,
Ix: IndexType,
type Output = N
The returned type after indexing.
fn index(&self, ix: NodeIndex<Ix>) -> &N
[src]
Performs the indexing (container[index]
) operation.
impl<N, E, Ty, Ix> IndexMut<NodeIndex<Ix>> for Csr<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
Ty: EdgeType,
Ix: IndexType,