rustc_
data_
structures
1.83.0
(90b35a623 2024-11-26)
Directed
Graph
Required Associated Types
Node
Required Methods
num_nodes
Implementations on Foreign Types
&'graph G
Implementors
In rustc_
data_
structures::
graph
rustc_data_structures
::
graph
Trait
DirectedGraph
Copy item path
source
pub trait DirectedGraph { type
Node
:
Idx
; // Required method fn
num_nodes
(&self) ->
usize
; }
Required Associated Types
§
source
type
Node
:
Idx
Required Methods
§
source
fn
num_nodes
(&self) ->
usize
Implementations on Foreign Types
§
source
§
impl<'graph, G:
DirectedGraph
>
DirectedGraph
for
&'graph G
source
§
type
Node
= <G as
DirectedGraph
>::
Node
source
§
fn
num_nodes
(&self) ->
usize
Implementors
§
source
§
impl<N:
Idx
, S:
Idx
+
Ord
, A:
Annotation
>
DirectedGraph
for
Sccs
<N, S, A>
source
§
type
Node
= S
source
§
impl<N:
Idx
, const BR:
bool
>
DirectedGraph
for
VecGraph
<N, BR>
source
§
type
Node
= N