Struct solana_rbpf::static_analysis::TopologicalIndex
source · pub struct TopologicalIndex {
pub scc_id: usize,
pub discovery: usize,
}
Expand description
Used for topological sort
Fields§
§scc_id: usize
Strongly connected component ID
discovery: usize
Discovery order inside a strongly connected component
Trait Implementations§
source§impl Debug for TopologicalIndex
impl Debug for TopologicalIndex
source§impl Default for TopologicalIndex
impl Default for TopologicalIndex
source§impl Ord for TopologicalIndex
impl Ord for TopologicalIndex
source§impl PartialEq<TopologicalIndex> for TopologicalIndex
impl PartialEq<TopologicalIndex> for TopologicalIndex
source§fn eq(&self, other: &TopologicalIndex) -> bool
fn eq(&self, other: &TopologicalIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TopologicalIndex> for TopologicalIndex
impl PartialOrd<TopologicalIndex> for TopologicalIndex
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more