☰
WithNumNodes
WithNumNodes
Required Methods
num_nodes
Implementations on Foreign Types
&'graph G
Implementors
In rustc_data_structures::graph
Modules
dominators
implementation
iterate
reference
scc
vec_graph
Traits
ControlFlowGraph
DirectedGraph
GraphPredecessors
GraphSuccessors
WithNumEdges
WithNumNodes
WithPredecessors
WithStartNode
WithSuccessors
Functions
is_cyclic
?
Trait
rustc_data_structures
::
graph
::
WithNumNodes
source
·
[
−
]
pub trait WithNumNodes:
DirectedGraph
{ fn
num_nodes
(&self) ->
usize
; }
Required Methods
source
fn
num_nodes
(&self) ->
usize
Implementations on Foreign Types
source
impl<'graph, G:
WithNumNodes
>
WithNumNodes
for
&'graph
G
source
fn
num_nodes
(&self) ->
usize
Implementors
source
impl<N:
Idx
>
WithNumNodes
for
VecGraph
<N>
source
impl<N:
Idx
, S:
Idx
+
Ord
>
WithNumNodes
for
Sccs
<N, S>
impl<'s, 'tcx, D:
ConstraintGraphDirecton
>
WithNumNodes
for
RegionGraph
<'s, 'tcx, D>
impl<'tcx>
WithNumNodes
for
BasicBlocks
<'tcx>
impl
WithNumNodes
for
CoverageGraph