# Trait rustc_data_structures::graph::DirectedGraph

source ·

    pub trait DirectedGraph {
        type Node: Idx;
    }

## Required Associated Types§

source

#### type Node: Idx

## Implementations on Foreign Types§

source§

### impl<'graph, G: DirectedGraph> DirectedGraph for &'graph G

§

#### type Node = <G as DirectedGraph>::Node

## Implementors§

source§

### impl<N: Idx> DirectedGraph for VecGraph<N>

§

#### type Node = N

source§

### impl<N: Idx, S: Idx> DirectedGraph for Sccs<N, S>

§

#### type Node = S